wok-6.x view xpat2/receipt @ rev 9906
ardour: Fix BD
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Tue May 17 15:15:04 2011 +0200 (2011-05-17) |
parents | 2a1184b71daa |
children | 1ae5963f23df |
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 WEB_SITE="http://manpages.ubuntu.com/manpages/intrepid/man6/xpat2.html"
9 DEPENDS="xorg-libX11 xorg-libXt xorg-libXaw"
10 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
11 WGET_URL="http://www.ibiblio.org/pub/Linux/games/solitaires/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 for i in xpat2.patch layout.patch ; do
18 [ -f done.$i ] && continue
19 patch -p1 < $stuff/$i
20 touch done.$i
21 done
22 cd src
23 cp $stuff/Makefile .
24 make &&
25 make DESTDIR=../_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/var/games/xpat2
32 cp -a $_pkg/usr $fs
33 mkdir -p $fs/usr/share/X11/app-defaults/
34 cp -a $stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat
35 touch $fs/var/games/xpat2/xpat.log
36 chmod 666 $fs/var/games/xpat2/xpat.log
37 }