wok-stable diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/xpat2/receipt Fri Jul 11 20:11:55 2008 +0000 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt 1.5 + 1.6 +PACKAGE="xpat2" 1.7 +VERSION="1.07" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="Soltaire games for X." 1.10 +MAINTAINER="wcnagel" 1.11 +DEPENDS="xorg" 1.12 +BUILD_DEPENDS="xorg-dev xorg-dev-proto" 1.13 +TARBALL="$PACKAGE-$VERSION-src.tar.gz" 1.14 +WGET_URL="http://www.ibiblio.org/pub/Linux/games/solitaires/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + patch -p1 < ../stuff/xpat2.patch 1.21 + cd src 1.22 + cp ../../stuff/Makefile . 1.23 + make 1.24 + make DESTDIR=../_pkg install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/var/games/xpat2 1.31 + cp -a $_pkg/usr $fs 1.32 + mkdir -p $fs/usr/share/X11/app-defaults/ 1.33 + cp -a $src/../stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat 1.34 + touch $fs/var/games/xpat2/xpat.log 1.35 + chmod 666 $fs/var/games/xpat2/xpat.log 1.36 +}