wok view puzzles/receipt @ rev 22340

Add perl-netaddr-ip & spamassassin
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 15 23:13:17 2019 +0100 (2019-11-15)
parents dfd3edf778f9
children 7c0170dd3ecc
line source
1 # SliTaz package receipt.
3 PACKAGE="puzzles"
4 VERSION="20190415"
5 CATEGORY="games"
6 SHORT_DESC="Misc puzzles games."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
11 TARBALL="$PACKAGE-$VERSION.e2135d5.tar.gz"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 DEPENDS="cairo gtk+ libxcb xorg-libXrandr"
15 BUILD_DEPENDS="file gtk+-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir -p $DESTDIR/usr/local/games 2> /dev/null
21 ./configure \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/pixmaps
32 mkdir -p $fs/usr/share/applications
34 cp -a $install/usr/* $fs/
36 for img in $(ls $src/icons/*16d24*)
37 do
38 cp $img $fs/usr/share/pixmaps/$(basename $img -16d24.png).png
39 done
41 cp -a $stuff/*.desktop $fs/usr/share/applications
42 }