wok-next view xpat2/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | c19e615aaeeb |
children | d6378d455338 |
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 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 }