25 lines
902 B
Bash
25 lines
902 B
Bash
# Template file for 'swi-prolog'
|
|
pkgname=swi-prolog
|
|
version=9.2.4
|
|
revision=1
|
|
build_style=cmake
|
|
build_helper="qemu"
|
|
configure_args="-DBUILD_TESTING=OFF"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="gmp-devel libXft-devel libXinerama-devel libXpm-devel libXt-devel
|
|
libarchive-devel libjpeg-turbo-devel openssl-devel readline-devel
|
|
unixodbc-devel zlib-devel pcre-devel libyaml-devel"
|
|
short_desc="Comprehensive free Prolog environment"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://www.swi-prolog.org/"
|
|
changelog="http://www.swi-prolog.org/ChangeLog?branch=stable"
|
|
distfiles="http://www.swi-prolog.org/download/stable/src/swipl-${version}.tar.gz"
|
|
checksum=d53cc13380b60ec4edeea0caead26af4d0e6bd877f458cf4fc6d6f90bd6e987c
|
|
CFLAGS=-D_FILE_OFFSET_BITS=64
|
|
CXXFLAGS=-D_FILE_OFFSET_BITS=64
|
|
|
|
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
|
|
makedepends+=" libxcrypt-devel"
|
|
fi
|