void-packages/srcpkgs/gnubg/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

30 lines
921 B
Bash

# Template file for 'gnubg'
pkgname=gnubg
version=1.04.000
revision=2
build_style=gnu-configure
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
configure_args="--enable-simd=sse2"
fi
hostmakedepends="pkg-config python gdk-pixbuf-devel"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" ${pkgname}"
fi
makedepends="libglib-devel gtk+-devel gtkglext-devel python-devel
libcanberra-devel readline-devel readline sqlite-devel"
short_desc="GNU Backgammon game"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-3"
homepage="http://www.gnubg.org"
distfiles="http://www.gnubg.org/media/sources/$pkgname-release-$version-sources.tar.gz"
checksum=66ca950d33d697f7a87605dfd3b83165ed756a927eaef164684914b9b0a14e3f
pre_configure() {
if [ "$CROSS_BUILD" ]; then
makeweights < gnubg.weights > gnubg.wd
makebearoff -o 6 -s 7999999 -f gnubg_os0.bd
makebearoff -t 6x6 -f gnubg_ts0.bd
export LDFLAGS=
fi
}