wok-next view xpat2/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xpat2"
4 VERSION="1.07"
5 CATEGORY="games"
6 SHORT_DESC="Soltaire games for X"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.ibiblio.org/pub/Linux/games/solitaires/!INDEX.html"
11 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
12 WGET_URL="http://www.ibiblio.org/pub/Linux/games/solitaires/$TARBALL"
14 BUILD_DEPENDS="libx11-dev libxt-dev libxaw-dev"
16 compile_rules() {
17 cd src
18 cp $stuff/Makefile .
20 make LDFLAGS="-lX11 -lXaw -lXmu -lXt -lXpm" &&
21 make DESTDIR=$install install
22 }
24 genpkg_rules() {
25 mkdir -p $fs/var/games/xpat2
26 cp -a $install/usr $fs
27 mkdir -p $fs/usr/share/X11/app-defaults/
28 cp -a $stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat
29 touch $fs/var/games/xpat2/xpat.log
30 chmod 666 $fs/var/games/xpat2/xpat.log
31 DEPENDS="libx11 libxt libxaw"
32 }