gnubg: s/-Wl,--no-as-needed//, fix arm-cross
Use www.gnu.org as homepage, old site is unreachable - arm-cross fixed by @fosslinux Co-authored-by: fosslinux <fosslinux@aussies.space>
This commit is contained in:
parent
bb4b26cd62
commit
9573a2cf2e
1 changed files with 12 additions and 13 deletions
|
@ -1,28 +1,28 @@
|
|||
# Template file for 'gnubg'
|
||||
pkgname=gnubg
|
||||
version=1.06.002
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-cputest ax_cv_gcc_x86_cpuid_0x00000001=6000000"
|
||||
if [ "$XBPS_TARGET_MACHINE" = x86_64 ]; then
|
||||
configure_args+=" --enable-simd=sse2"
|
||||
fi
|
||||
hostmakedepends="pkg-config python-devel gdk-pixbuf-devel"
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" ${pkgname}"
|
||||
fi
|
||||
hostmakedepends="pkg-config python gdk-pixbuf-devel"
|
||||
makedepends="libcurl-devel libglib-devel gtk+-devel gtkglext-devel python-devel
|
||||
libcanberra-devel readline-devel readline sqlite-devel"
|
||||
depends="python"
|
||||
short_desc="GNU Backgammon game"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="http://www.gnubg.org"
|
||||
distfiles="http://www.gnubg.org/media/sources/$pkgname-release-$version-sources.tar.gz"
|
||||
homepage="https://www.gnu.org/software/gnubg/"
|
||||
distfiles="$GNU_SITE/gnubg/$pkgname-release-$version-sources.tar.gz"
|
||||
checksum=ce1b0b0c1900717cc598032a14cf8c0ee60faf24d84368b39922c0102983bc87
|
||||
LDFLAGS="-Wl,--no-as-needed -lm -lreadline"
|
||||
LDLIBS="-lm -lreadline -lpython2.7"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" ${pkgname}"
|
||||
CPPFLAGS="-I$XBPS_CROSS_BASE/usr/include/python2.7"
|
||||
fi
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
arm*) broken="https://build.voidlinux.org/builders/armv7l_builder/builds/6536/steps/shell_3/logs/stdio" ;;
|
||||
x86_64*) configure_args+=" --enable-simd=sse2" ;;
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
|
@ -32,4 +32,3 @@ pre_configure() {
|
|||
makebearoff -t 6x6 -f gnubg_ts0.bd
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue