wok view xpat2/receipt @ rev 1071
Up: tazpkg (2.3) - md5sum support and bug fix
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Jul 15 23:49:41 2008 +0200 (2008-07-15) |
parents | 99a4ec0e2e77 |
children | 74c908326808 |
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="wcnagel"
8 DEPENDS="xorg"
9 BUILD_DEPENDS="xorg-dev xorg-dev-proto"
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 patch -p1 < ../stuff/xpat2.patch
18 patch -p1 < ../stuff/layout.patch
19 cd src
20 cp ../../stuff/Makefile .
21 make
22 make DESTDIR=../_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/var/games/xpat2
29 cp -a $_pkg/usr $fs
30 mkdir -p $fs/usr/share/X11/app-defaults/
31 cp -a $src/../stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat
32 touch $fs/var/games/xpat2/xpat.log
33 chmod 666 $fs/var/games/xpat2/xpat.log
34 }