wok annotate xpat2/receipt @ rev 1412
fix MAINTAINER for cryptsetup freeglut freeglut-dev jed grisbi libdevmapper libdevmapper-dev mdadm xpat2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 25 07:52:52 2008 +0000 (2008-09-25) |
parents | bfa41136b77a |
children | e6114fcaafb8 |
rev | line source |
---|---|
wcnagel@1042 | 1 # SliTaz package receipt |
wcnagel@1042 | 2 |
wcnagel@1042 | 3 PACKAGE="xpat2" |
wcnagel@1042 | 4 VERSION="1.07" |
wcnagel@1042 | 5 CATEGORY="games" |
wcnagel@1042 | 6 SHORT_DESC="Soltaire games for X." |
pascal@1412 | 7 MAINTAINER="bill@nagel.org" |
wcnagel@1042 | 8 DEPENDS="xorg" |
wcnagel@1042 | 9 BUILD_DEPENDS="xorg-dev xorg-dev-proto" |
wcnagel@1042 | 10 TARBALL="$PACKAGE-$VERSION-src.tar.gz" |
wcnagel@1042 | 11 WGET_URL="http://www.ibiblio.org/pub/Linux/games/solitaires/$TARBALL" |
wcnagel@1042 | 12 |
wcnagel@1042 | 13 # Rules to configure and make the package. |
wcnagel@1042 | 14 compile_rules() |
wcnagel@1042 | 15 { |
wcnagel@1042 | 16 cd $src |
wcnagel@1042 | 17 patch -p1 < ../stuff/xpat2.patch |
wcnagel@1043 | 18 patch -p1 < ../stuff/layout.patch |
wcnagel@1042 | 19 cd src |
wcnagel@1042 | 20 cp ../../stuff/Makefile . |
wcnagel@1042 | 21 make |
wcnagel@1042 | 22 make DESTDIR=../_pkg install |
wcnagel@1042 | 23 } |
wcnagel@1042 | 24 |
wcnagel@1042 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
wcnagel@1042 | 26 genpkg_rules() |
wcnagel@1042 | 27 { |
wcnagel@1042 | 28 mkdir -p $fs/var/games/xpat2 |
wcnagel@1042 | 29 cp -a $_pkg/usr $fs |
wcnagel@1042 | 30 mkdir -p $fs/usr/share/X11/app-defaults/ |
wcnagel@1042 | 31 cp -a $src/../stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat |
wcnagel@1042 | 32 touch $fs/var/games/xpat2/xpat.log |
wcnagel@1042 | 33 chmod 666 $fs/var/games/xpat2/xpat.log |
wcnagel@1042 | 34 } |