wok-stable view xpat2/receipt @ rev 10650
icedtea6-jdk: It build, dont exit on make messages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 27 03:56:49 2011 +0200 (2011-05-27) |
parents | 2a1184b71daa |
children |
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 $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 }