wok view xpat2/receipt @ rev 1738

rp-pppoe: fix id path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 22 03:23:56 2008 +0100 (2008-11-22)
parents e6114fcaafb8
children 67356fcbb83e
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="bill@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 }