wok-next view 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 |
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="b1+slitaz@nagel.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://manpages.ubuntu.com/manpages/intrepid/man6/xpat2.html"
10 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
11 WGET_URL="http://www.ibiblio.org/pub/Linux/games/solitaires/$TARBALL"
13 DEPENDS="xorg-libX11 xorg-libXt xorg-libXaw"
14 BUILD_DEPENDS="xorg-libX11-dev xorg-libXt-dev xorg-libXaw-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd src
20 cp $stuff/Makefile .
21 make LDFLAGS="-lX11 -lXaw -lXmu -lXt -lXpm" &&
22 make DESTDIR=$DESTDIR 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 $install/usr $fs
30 mkdir -p $fs/usr/share/X11/app-defaults/
31 cp -a $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 }