wok-6.x annotate puzzles/receipt @ rev 14654
xorg-kbproto: Fixed depends but making it only xorg-utils-macros. It builds without xorg-xproto and xorg-libxkbfile-dev so its not needed.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Jun 05 02:41:07 2013 +0000 (2013-06-05) |
parents | c27cb9190c28 |
children | 38bfb19944b1 |
rev | line source |
---|---|
erjo@6070 | 1 # SliTaz package receipt. |
erjo@6070 | 2 |
erjo@6070 | 3 PACKAGE="puzzles" |
erjo@6070 | 4 VERSION="r8972" |
erjo@6070 | 5 CATEGORY="games" |
erjo@6070 | 6 SHORT_DESC="Misc puzzles games." |
erjo@6070 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
samuel_trassare@11936 | 8 TARBALL="$PACKAGE.tar.gz" |
erjo@6070 | 9 WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/" |
erjo@6070 | 10 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@6407 | 11 DEPENDS="gtk+ cairo libxcb xorg-libXrandr" |
erjo@6070 | 12 BUILD_DEPENDS="gtk+-dev" |
erjo@6070 | 13 |
erjo@6070 | 14 # Rules to configure and make the package. |
erjo@6070 | 15 compile_rules() |
erjo@6070 | 16 { |
erjo@6070 | 17 cd $src |
pascal@7417 | 18 sed -i 's/-pedantic//' Makefile mkfiles.pl |
erjo@6070 | 19 mkdir -p _pkg/usr/local/games 2> /dev/null |
erjo@6070 | 20 make && |
erjo@6070 | 21 make DESTDIR=$PWD/_pkg install |
erjo@6070 | 22 } |
erjo@6070 | 23 |
erjo@6070 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@6070 | 25 genpkg_rules() |
erjo@6070 | 26 { |
erjo@6070 | 27 mkdir -p $fs/usr/share/pixmaps \ |
erjo@6070 | 28 $fs/usr/share/applications |
erjo@6070 | 29 |
erjo@6070 | 30 cp -a $_pkg/usr/local/games $fs/usr |
erjo@6070 | 31 |
erjo@6070 | 32 for img in $(ls $src/icons/*16d24*) |
erjo@6070 | 33 do |
erjo@6070 | 34 cp $img $fs/usr/share/pixmaps/$(basename $img -16d24.png).png |
erjo@6070 | 35 done |
erjo@6070 | 36 |
erjo@6070 | 37 cp -a stuff/*.desktop $fs/usr/share/applications |
erjo@6070 | 38 } |
erjo@6070 | 39 |