wok-stable view xpat2/receipt @ rev 1528
Add ncurses-extra ncurses-man
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 09 09:12:40 2008 +0000 (2008-10-09) |
parents | 74c908326808 |
children | 65d3dfc87776 |
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="bill@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 patch -p1 < ../stuff/xpat2.patch
19 patch -p1 < ../stuff/layout.patch
20 cd src
21 cp ../../stuff/Makefile .
22 make
23 make DESTDIR=../_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/var/games/xpat2
30 cp -a $_pkg/usr $fs
31 mkdir -p $fs/usr/share/X11/app-defaults/
32 cp -a $src/../stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat
33 touch $fs/var/games/xpat2/xpat.log
34 chmod 666 $fs/var/games/xpat2/xpat.log
35 }