2020-07-25 00:08:03 +02:00
|
|
|
# Template file for 'scryer-prolog'
|
|
|
|
pkgname=scryer-prolog
|
|
|
|
version=0.8.123
|
2020-07-29 21:23:42 +02:00
|
|
|
revision=2
|
2020-07-25 00:08:03 +02:00
|
|
|
build_style=cargo
|
|
|
|
hostmakedepends="m4 pkg-config"
|
2020-07-29 21:23:42 +02:00
|
|
|
makedepends="gmp-devel mpfr-devel libmpc-devel"
|
2020-07-25 00:08:03 +02:00
|
|
|
short_desc="Modern Prolog implementation written mostly in Rust"
|
|
|
|
maintainer="Hans-J. Schmid <knock@myopendoor.de>"
|
|
|
|
license="BSD-3-Clause"
|
|
|
|
homepage="https://github.com/mthom/scryer-prolog"
|
|
|
|
distfiles="https://github.com/mthom/scryer-prolog/archive/v${version}.tar.gz"
|
|
|
|
checksum=4370bc2200e3e56d411326801219bc5fc37a422febdb6cd3548ed3f65b5a44aa
|
2020-07-29 21:23:42 +02:00
|
|
|
nocross="executes gmp header https://gitlab.com/tspiteri/gmp-mpfr-sys/-/blob/v1.2.2/build.rs#L1278"
|
|
|
|
export CARGO_FEATURE_USE_SYSTEM_LIBS=1
|
2020-07-29 00:34:06 +02:00
|
|
|
|
2020-07-29 23:20:22 +02:00
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
x86_64*|i686*|arm*|aarch64*) ;;
|
|
|
|
*) broken="ftbfs in ring" ;;
|
|
|
|
esac
|
|
|
|
|
2020-07-25 00:08:03 +02:00
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|