wok view xpat2/receipt @ rev 1227
Add squirrelmail-quota
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 10 10:45:55 2008 +0000 (2008-08-10) |
parents | 99a4ec0e2e77 |
children | 74c908326808 |
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 patch -p1 < ../stuff/layout.patch
19 cd src
20 cp ../../stuff/Makefile .
21 make
22 make DESTDIR=../_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/var/games/xpat2
29 cp -a $_pkg/usr $fs
30 mkdir -p $fs/usr/share/X11/app-defaults/
31 cp -a $src/../stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat
32 touch $fs/var/games/xpat2/xpat.log
33 chmod 666 $fs/var/games/xpat2/xpat.log
34 }