wok-next annotate puzzles/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children | d457c4e37c1b |
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" |
al@21020 | 6 SHORT_DESC="Misc puzzles games" |
erjo@6070 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15376 | 8 LICENSE="MIT" |
al@21020 | 9 WEB_SITE="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/" |
al@21020 | 10 |
samuel_trassare@11936 | 11 TARBALL="$PACKAGE.tar.gz" |
erjo@6070 | 12 WGET_URL="${WEB_SITE}$TARBALL" |
pascal@15136 | 13 |
al@21017 | 14 BUILD_DEPENDS="gtk2-dev" |
erjo@6070 | 15 |
al@21020 | 16 compile_rules() { |
pascal@15136 | 17 touch version2.def |
pascal@7417 | 18 sed -i 's/-pedantic//' Makefile mkfiles.pl |
pascal@20007 | 19 sed -i 's/sizeof(lld)/sizeof(*lld)/' lightup.c |
al@21020 | 20 mkdir -p $install/usr/local/games/ |
al@21020 | 21 |
erjo@6070 | 22 make && |
al@21020 | 23 make DESTDIR=$install install |
erjo@6070 | 24 } |
erjo@6070 | 25 |
al@21020 | 26 genpkg_rules() { |
erjo@6070 | 27 mkdir -p $fs/usr/share/pixmaps \ |
erjo@6070 | 28 $fs/usr/share/applications |
pascal@15136 | 29 cp -a $install/usr/local/games $fs/usr |
al@21020 | 30 for img in $(ls $src/icons/*16d24*); do |
erjo@6070 | 31 cp $img $fs/usr/share/pixmaps/$(basename $img -16d24.png).png |
erjo@6070 | 32 done |
pascal@15376 | 33 cp -a $stuff/*.desktop $fs/usr/share/applications |
al@21020 | 34 DEPENDS="gtk2 cairo xorg-libxcb xorg-libXrandr" |
erjo@6070 | 35 } |