wok view xpat2/receipt @ rev 1042

Add xpat2
author Bill Nagel <wcnagel@xxxxxxxx>
date Fri Jul 11 20:11:55 2008 +0000 (2008-07-11)
parents
children bfa41136b77a
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 cd src
19 cp ../../stuff/Makefile .
20 make
21 make DESTDIR=../_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/var/games/xpat2
28 cp -a $_pkg/usr $fs
29 mkdir -p $fs/usr/share/X11/app-defaults/
30 cp -a $src/../stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat
31 touch $fs/var/games/xpat2/xpat.log
32 chmod 666 $fs/var/games/xpat2/xpat.log
33 }