wok-next view xpat2/receipt @ rev 20494

make-slitaz-icons: in multiple choice for 16px request: if 16px and scalable icons both are available, try to choose 16px one, but not the first caught.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 13 23:17:56 2018 +0200 (2018-03-13)
parents c19e615aaeeb
children d6378d455338
line source
1 # SliTaz package receipt
3 PACKAGE="xpat2"
4 VERSION="1.07"
5 CATEGORY="games"
6 SHORT_DESC="Soltaire games for X."
7 MAINTAINER="b1+slitaz@nagel.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://manpages.ubuntu.com/manpages/intrepid/man6/xpat2.html"
10 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
11 WGET_URL="http://www.ibiblio.org/pub/Linux/games/solitaires/$TARBALL"
13 DEPENDS="xorg-libX11 xorg-libXt xorg-libXaw"
14 BUILD_DEPENDS="xorg-libX11-dev xorg-libXt-dev xorg-libXaw-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 for i in xpat2.patch layout.patch ; do
20 [ -f done.$i ] && continue
21 patch -p1 < $stuff/$i
22 touch done.$i
23 done
24 cd src
25 cp $stuff/Makefile .
26 make LDFLAGS="-lX11 -lXaw -lXmu -lXt -lXpm" &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/var/games/xpat2
34 cp -a $install/usr $fs
35 mkdir -p $fs/usr/share/X11/app-defaults/
36 cp -a $stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat
37 touch $fs/var/games/xpat2/xpat.log
38 chmod 666 $fs/var/games/xpat2/xpat.log
39 }