# HG changeset patch # User Pascal Bellard # Date 1376563896 0 # Node ID 38bfb19944b16cb26e030f536c714fdcb1dbfd36 # Parent 7971addf736e53a22e3a9877a18a1456d88dd56b puzzles: create version2.def diff -r 7971addf736e -r 38bfb19944b1 puzzles/receipt --- a/puzzles/receipt Thu Aug 15 10:36:33 2013 +0000 +++ b/puzzles/receipt Thu Aug 15 10:51:36 2013 +0000 @@ -8,6 +8,7 @@ TARBALL="$PACKAGE.tar.gz" WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/" WGET_URL="${WEB_SITE}$TARBALL" + DEPENDS="gtk+ cairo libxcb xorg-libXrandr" BUILD_DEPENDS="gtk+-dev" @@ -15,10 +16,11 @@ compile_rules() { cd $src + touch version2.def sed -i 's/-pedantic//' Makefile mkfiles.pl - mkdir -p _pkg/usr/local/games 2> /dev/null + mkdir -p $DESTDIR/usr/local/games 2> /dev/null make && - make DESTDIR=$PWD/_pkg install + make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. @@ -27,7 +29,7 @@ mkdir -p $fs/usr/share/pixmaps \ $fs/usr/share/applications - cp -a $_pkg/usr/local/games $fs/usr + cp -a $install/usr/local/games $fs/usr for img in $(ls $src/icons/*16d24*) do