wok-next view xpat2/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 8e1b2a143eb3
children 5669e8b3be70
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="xorg-libX11-dev xorg-libXt-dev xorg-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="xorg-libX11 xorg-libXt xorg-libXaw"
32 }