2014-07-02 15:21:51 +02:00
|
|
|
# Template file for 'gnubg'
|
|
|
|
pkgname=gnubg
|
2014-11-01 16:51:16 +01:00
|
|
|
version=1.04.000
|
2014-11-05 19:40:50 +01:00
|
|
|
revision=2
|
2014-07-02 15:21:51 +02:00
|
|
|
build_style=gnu-configure
|
2014-11-05 19:40:50 +01:00
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
|
|
|
configure_args="--enable-simd=sse2"
|
|
|
|
fi
|
2014-11-01 17:03:59 +01:00
|
|
|
hostmakedepends="pkg-config python gdk-pixbuf-devel"
|
2014-11-05 19:40:50 +01:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends+=" ${pkgname}>=${version}"
|
|
|
|
fi
|
|
|
|
makedepends="libglib-devel gtk+-devel gtkglext-devel python-devel
|
|
|
|
libcanberra-devel readline-devel readline sqlite-devel"
|
2014-07-08 11:55:53 +02:00
|
|
|
short_desc="GNU Backgammon game"
|
2014-07-02 15:21:51 +02:00
|
|
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://www.gnubg.org"
|
2014-10-31 15:27:14 +01:00
|
|
|
update_site="http://www.gnubg.org/index.php?itemid=22"
|
|
|
|
update_pattern='gnubg-release-\K[\d.]+\d+'
|
2014-07-02 15:21:51 +02:00
|
|
|
distfiles="http://www.gnubg.org/media/sources/$pkgname-release-$version-sources.tar.gz"
|
2014-11-01 16:51:16 +01:00
|
|
|
checksum=66ca950d33d697f7a87605dfd3b83165ed756a927eaef164684914b9b0a14e3f
|
2014-11-05 19:40:50 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|