wok view xpat2/receipt @ rev 5271

linux: increase gzip compression
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 15 18:22:14 2010 +0200 (2010-04-15)
parents 65d3dfc87776
children 2a1184b71daa
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"
10 BUILD_DEPENDS="xorg-dev xorg-dev-proto"
11 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
12 WGET_URL="http://www.ibiblio.org/pub/Linux/games/solitaires/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 for i in xpat2.patch layout.patch ; do
19 [ -f done.$i ] && continue
20 patch -p1 < ../stuff/$i
21 touch done.$i
22 done
23 cd src
24 cp ../../stuff/Makefile .
25 make &&
26 make DESTDIR=../_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/var/games/xpat2
33 cp -a $_pkg/usr $fs
34 mkdir -p $fs/usr/share/X11/app-defaults/
35 cp -a $src/../stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat
36 touch $fs/var/games/xpat2/xpat.log
37 chmod 666 $fs/var/games/xpat2/xpat.log
38 }