wok-6.x view xpat2/receipt @ rev 1195
postfix: create /etc/aliases.db
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 06 16:22:16 2008 +0000 (2008-08-06) |
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 }