void-packages/srcpkgs/swi-prolog/template

22 lines
892 B
Text

# Template file for 'swi-prolog'
pkgname=swi-prolog
version=6.6.6
revision=2
wrksrc="pl-${version}"
build_style=gnu-configure
configure_args="--with-world"
hostmakedepends="pkg-config"
makedepends="gmp-devel readline-devel libressl-devel>=2.1.2 zlib-devel libarchive-devel libXft-devel libjpeg-turbo-devel libXpm-devel libXinerama-devel unixodbc-devel libXt-devel"
short_desc="A comprehensive free Prolog environment"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="LGPL-2.1"
homepage="http://www.swi-prolog.org/"
update_site="http://www.swi-prolog.org/download/stable"
update_pattern='pl-\K[\d.]+\d'
distfiles="http://www.swi-prolog.org/download/stable/src/pl-${version}.tar.gz"
checksum=9f80bb274e2f31fd68b0acbe35982c012d5f8311dbe44ec1d8d04351a776996d
nocross=yes
post_install() {
chmod +x "${DESTDIR}/usr/lib/swipl-${version}/library/dialect/sicstus/swipl-lfr.pl"
}