wok-next annotate xpat2/receipt @ rev 20779
typo
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Fri Jun 08 09:48:36 2018 +0000 (2018-06-08) |
parents | 145bc1c732ca |
children | 8e1b2a143eb3 |
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@15317 | 8 LICENSE="GPL2" |
pascal@1413 | 9 WEB_SITE="http://manpages.ubuntu.com/manpages/intrepid/man6/xpat2.html" |
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 |
pascal@15110 | 13 DEPENDS="xorg-libX11 xorg-libXt xorg-libXaw" |
pascal@20228 | 14 BUILD_DEPENDS="xorg-libX11-dev xorg-libXt-dev xorg-libXaw-dev" |
pascal@15110 | 15 |
wcnagel@1042 | 16 # Rules to configure and make the package. |
wcnagel@1042 | 17 compile_rules() |
wcnagel@1042 | 18 { |
wcnagel@1042 | 19 cd src |
pascal@8974 | 20 cp $stuff/Makefile . |
pascal@15317 | 21 make LDFLAGS="-lX11 -lXaw -lXmu -lXt -lXpm" && |
pascal@15110 | 22 make DESTDIR=$DESTDIR 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 |
pascal@15110 | 29 cp -a $install/usr $fs |
wcnagel@1042 | 30 mkdir -p $fs/usr/share/X11/app-defaults/ |
pascal@8974 | 31 cp -a $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 } |