wok-stable diff cgames/receipt @ rev 11387
Compat: remove gtk+ from poppler DEPENDS to solve a build dependency loop
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 10 04:46:32 2011 +0100 (2011-12-10) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cgames/receipt Sat Dec 10 04:46:32 2011 +0100 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="cgames" 1.7 +VERSION="2.2" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="Games for the Linux Console." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.muppetlabs.com/~breadbox/software/cgames.html" 1.13 +WGET_URL="http://www.muppetlabs.com/~breadbox/pub/software/$TARBALL" 1.14 +DEPENDS="ncurses" 1.15 +BUILD_DEPENDS="ncurses-dev" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + sed -i -e 's|install -.*\$|&(destdir)/$|' \ 1.22 + -e "s|^prefix|destdir = $DESTDIR\\n&|" \ 1.23 + -e 's/g games/g root/' */Makefile.in 1.24 + sed -i 's/.* getline(.*/#define getline mygetline\n&/' */fileread.h 1.25 + ./configure --prefix=/usr \ 1.26 + --mandir=/usr/share/man \ 1.27 + --datadir=/usr/share \ 1.28 + --disable-mouse \ 1.29 + --with-ncurses \ 1.30 + $CONFIGURE_ARGS && 1.31 + make && 1.32 + make install 1.33 +} 1.34 + 1.35 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.36 +genpkg_rules() 1.37 +{ 1.38 + mkdir -p $fs/usr/share 1.39 + cp -a $_pkg/usr/games $fs/usr 1.40 + cp -a $_pkg/usr/share/cblocks $fs/usr/share 1.41 + cp -a $_pkg/usr/share/csokoban $fs/usr/share 1.42 +} 1.43 +