wok-6.x diff enigma/receipt @ rev 8062
Fix gzip post_remove.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Jan 20 18:09:08 2011 +0000 (2011-01-20) |
parents | |
children | 0d45377daa01 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/enigma/receipt Thu Jan 20 18:09:08 2011 +0000 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="enigma" 1.7 +VERSION="1.01" 1.8 +REVISION="r1914" 1.9 +CATEGORY="games" 1.10 +SHORT_DESC="puzzle game similar to Oxyd" 1.11 +MAINTAINER="devl547@gmail.com" 1.12 +TARBALL="$PACKAGE-$VERSION-$REVISION.tar.gz" 1.13 +WEB_SITE="http://www.nongnu.org/enigma/" 1.14 +WGET_URL="http://download.berlios.de/enigma-game/$TARBALL" 1.15 +BUILD_DEPENDS="gettext libsdl-ttf-dev libsdl-mixer-dev libsdl-image-dev libsdl-dev xerces-c-dev" 1.16 +DEPENDS="libsdl libsdl-ttf libsdl-mixer libsdl-image xerces-c" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.23 + --mandir=/usr/share/man $CONFIGURE_ARGS \ 1.24 + --enable-optimize && 1.25 + make && 1.26 + make DESTDIR=$PWD/_pkg install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr 1.33 + cp -a $_pkg/usr/bin $fs/usr 1.34 + cp -a $_pkg/usr/lib $fs/usr 1.35 + cp -a $_pkg/usr/share $fs/usr 1.36 +}