wok view xpat2/receipt @ rev 19287
get-vivaldi: update deps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 06 08:57:45 2016 +0200 (2016-07-06) |
parents | 1ae5963f23df |
children | 6135577f4d08 |
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"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 for i in xpat2.patch layout.patch ; do
20 [ -f done.$i ] && continue
21 patch -p1 < $stuff/$i
22 touch done.$i
23 done
24 cd src
25 cp $stuff/Makefile .
26 make LDFLAGS="-lX11 -lXaw -lXmu -lXt -lXpm" &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/var/games/xpat2
34 cp -a $install/usr $fs
35 mkdir -p $fs/usr/share/X11/app-defaults/
36 cp -a $stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat
37 touch $fs/var/games/xpat2/xpat.log
38 chmod 666 $fs/var/games/xpat2/xpat.log
39 }