wok-stable annotate xpat2/receipt @ rev 11354
Up sslh (1.10)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 01 11:36:59 2011 +0100 (2011-12-01) |
parents | 2a1184b71daa |
children |
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." |
b1+slitaz@1802 | 7 MAINTAINER="b1+slitaz@nagel.org" |
pascal@1413 | 8 WEB_SITE="http://manpages.ubuntu.com/manpages/intrepid/man6/xpat2.html" |
slaxemulator@8957 | 9 DEPENDS="xorg-libX11 xorg-libXt xorg-libXaw" |
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 |
pascal@1553 | 17 for i in xpat2.patch layout.patch ; do |
pascal@1553 | 18 [ -f done.$i ] && continue |
pascal@8974 | 19 patch -p1 < $stuff/$i |
pascal@1553 | 20 touch done.$i |
pascal@1553 | 21 done |
wcnagel@1042 | 22 cd src |
pascal@8974 | 23 cp $stuff/Makefile . |
pascal@1553 | 24 make && |
wcnagel@1042 | 25 make DESTDIR=../_pkg install |
wcnagel@1042 | 26 } |
wcnagel@1042 | 27 |
wcnagel@1042 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
wcnagel@1042 | 29 genpkg_rules() |
wcnagel@1042 | 30 { |
wcnagel@1042 | 31 mkdir -p $fs/var/games/xpat2 |
wcnagel@1042 | 32 cp -a $_pkg/usr $fs |
wcnagel@1042 | 33 mkdir -p $fs/usr/share/X11/app-defaults/ |
pascal@8974 | 34 cp -a $stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat |
wcnagel@1042 | 35 touch $fs/var/games/xpat2/xpat.log |
wcnagel@1042 | 36 chmod 666 $fs/var/games/xpat2/xpat.log |
wcnagel@1042 | 37 } |