void-packages/srcpkgs/swi-prolog/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

20 lines
798 B
Bash

# Template file for 'swi-prolog'
pkgname=swi-prolog
version=6.6.6
revision=4
wrksrc="pl-${version}"
build_style=gnu-configure
configure_args="--with-world"
hostmakedepends="pkg-config"
makedepends="gmp-devel readline-devel libressl-devel 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/"
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"
}