puzzles: update to 20160428.
Respect LDFLAGS.
This commit is contained in:
parent
0c2a0b8a4a
commit
02470705ce
1 changed files with 9 additions and 7 deletions
|
@ -1,21 +1,23 @@
|
||||||
# Template file for 'puzzles'
|
# Template file for 'puzzles'
|
||||||
pkgname=puzzles
|
pkgname=puzzles
|
||||||
version=20150502
|
version=20160428
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="${pkgname}-7f64f4a"
|
wrksrc="${pkgname}-b31155b"
|
||||||
hostmakedepends="pkg-config perl"
|
hostmakedepends="pkg-config perl"
|
||||||
makedepends="gtk+-devel"
|
makedepends="gtk+-devel"
|
||||||
short_desc="Simon Tatham's Portable Puzzle Collection"
|
short_desc="Simon Tatham's Portable Puzzle Collection"
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
|
homepage="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
|
||||||
distfiles="http://tartarus.org/~simon-git/gitweb/?p=puzzles.git;a=snapshot;h=7f64f4a50e46304b7bad011a1251e146ab63ca15;sf=tgz>${pkgname}-${version}.tar.gz"
|
distfiles="http://tartarus.org/~simon-git/gitweb/?p=puzzles.git;a=snapshot;h=b31155b732c1bab2e744a0ebf7532af2de2ce4a5;sf=tgz>${pkgname}-${version}.tar.gz"
|
||||||
checksum=7f4edcbe542b64726461c17272ba49790197272231460abb363dd67fc3cde739
|
checksum=d4ac37d3dbba1ab49c26d0ad10f1ac69be20ed17140b137f0a4a1f0c0351d563
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
./mkfiles.pl
|
./mkfiles.pl
|
||||||
CC="${CC}" CFLAGS="${CFLAGS} -Wno-error" make ${makejobs} -f Makefile.gtk \
|
echo "XLIBS += ${LDFLAGS}" >>Makefile.gtk
|
||||||
prefix=/usr BINPREFIX=puzzles-
|
echo "ULIBS += ${LDFLAGS}" >>Makefile.gtk
|
||||||
|
CC="${CC}" CFLAGS="${CFLAGS} -Wno-error" \
|
||||||
|
make ${makejobs} -f Makefile.gtk prefix=/usr BINPREFIX=puzzles-
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Reference in a new issue