wok-6.x view xpat2/receipt @ rev 8938
masqmail, mplayer-svn, nagios-nrpe, notify-python, openvas-administrator, openvas-client, openvas-manager, openvas-scanner, perl-xml-entities, pgadmin, python-ipy: update BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 01 16:28:33 2011 +0100 (2011-03-01) |
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 }