2014-07-02 13:21:51 +00:00
|
|
|
# Template file for 'gnubg'
|
|
|
|
pkgname=gnubg
|
2015-04-22 09:49:39 +00:00
|
|
|
version=1.05.000
|
|
|
|
revision=1
|
2014-07-02 13:21:51 +00:00
|
|
|
build_style=gnu-configure
|
2014-11-05 18:40:50 +00:00
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
|
|
|
configure_args="--enable-simd=sse2"
|
|
|
|
fi
|
2014-11-01 16:03:59 +00:00
|
|
|
hostmakedepends="pkg-config python gdk-pixbuf-devel"
|
2014-11-05 18:40:50 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2015-03-27 09:50:40 +00:00
|
|
|
hostmakedepends+=" ${pkgname}"
|
2014-11-05 18:40:50 +00:00
|
|
|
fi
|
|
|
|
makedepends="libglib-devel gtk+-devel gtkglext-devel python-devel
|
|
|
|
libcanberra-devel readline-devel readline sqlite-devel"
|
2014-07-08 09:55:53 +00:00
|
|
|
short_desc="GNU Backgammon game"
|
2014-07-02 13:21:51 +00:00
|
|
|
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"
|
2015-04-22 09:49:39 +00:00
|
|
|
checksum=a872810b82f17950be64b4f49a10da97634c5d8f39069288f64bd2eb78a4cddb
|
2014-11-05 18:40:50 +00: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
|
|
|
|
}
|
|
|
|
|