wok-6.x view xpat2/receipt @ rev 8957

Fixed xpat2 to not need xorg and xorg-dev. Add xorg-libX11, xorg-libXt, and xorg-libXaw to xpat2 depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Mar 01 18:45:33 2011 +0000 (2011-03-01)
parents 67356fcbb83e
children 940b5937e496
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-libX11 xorg-libXt xorg-libXaw"
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 for i in xpat2.patch layout.patch ; do
18 [ -f done.$i ] && continue
19 patch -p1 < ../stuff/$i
20 touch done.$i
21 done
22 cd src
23 cp ../../stuff/Makefile .
24 make &&
25 make DESTDIR=../_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/var/games/xpat2
32 cp -a $_pkg/usr $fs
33 mkdir -p $fs/usr/share/X11/app-defaults/
34 cp -a $src/../stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat
35 touch $fs/var/games/xpat2/xpat.log
36 chmod 666 $fs/var/games/xpat2/xpat.log
37 }