wok-current annotate puzzles/receipt @ rev 20669

Update some WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 21 12:26:11 2019 +0100 (2019-01-21)
parents ae335becd41b
children dfd3edf778f9
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"
pascal@15376 8 LICENSE="MIT"
samuel_trassare@11936 9 TARBALL="$PACKAGE.tar.gz"
pascal@20669 10 WEB_SITE="https://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
erjo@6070 11 WGET_URL="${WEB_SITE}$TARBALL"
pascal@15136 12
pascal@6407 13 DEPENDS="gtk+ cairo libxcb xorg-libXrandr"
pascal@20585 14 BUILD_DEPENDS="gtk+-dev file"
erjo@6070 15
erjo@6070 16 # Rules to configure and make the package.
erjo@6070 17 compile_rules()
erjo@6070 18 {
pascal@15136 19 mkdir -p $DESTDIR/usr/local/games 2> /dev/null
pascal@20586 20 ./configure --prefix=/usr
pascal@20586 21 $CONFIGURE_ARGS &&
erjo@6070 22 make &&
pascal@15136 23 make DESTDIR=$DESTDIR install
erjo@6070 24 }
erjo@6070 25
erjo@6070 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@6070 27 genpkg_rules()
erjo@6070 28 {
erjo@6070 29 mkdir -p $fs/usr/share/pixmaps \
erjo@6070 30 $fs/usr/share/applications
erjo@6070 31
pascal@20586 32 cp -a $install/usr/* $fs/
erjo@6070 33
erjo@6070 34 for img in $(ls $src/icons/*16d24*)
erjo@6070 35 do
erjo@6070 36 cp $img $fs/usr/share/pixmaps/$(basename $img -16d24.png).png
erjo@6070 37 done
erjo@6070 38
pascal@15376 39 cp -a $stuff/*.desktop $fs/usr/share/applications
erjo@6070 40 }