wok view xpat2/receipt @ rev 20679

Update some WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 26 12:26:47 2019 +0100 (2019-01-26)
parents c19e615aaeeb
children 535c806240cc
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://www.ibiblio.org/pub/Linux/games/solitaires/!INDEX.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 }