wok-next annotate xpat2/receipt @ rev 21449

updated slock (1.1 -> 1.4)
author Hans-G?nter Theisgen
date Thu May 07 07:51:56 2020 +0100 (2020-05-07)
parents d5aab818505e
children
rev   line source
al@21020 1 # SliTaz package receipt v2.
wcnagel@1042 2
wcnagel@1042 3 PACKAGE="xpat2"
wcnagel@1042 4 VERSION="1.07"
wcnagel@1042 5 CATEGORY="games"
al@21020 6 SHORT_DESC="Soltaire games for X"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15317 8 LICENSE="GPL2"
al@20949 9 WEB_SITE="http://www.ibiblio.org/pub/Linux/games/solitaires/!INDEX.html"
al@21020 10
wcnagel@1042 11 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
wcnagel@1042 12 WGET_URL="http://www.ibiblio.org/pub/Linux/games/solitaires/$TARBALL"
wcnagel@1042 13
al@21078 14 BUILD_DEPENDS="libx11-dev libxt-dev libxaw-dev"
pascal@15110 15
al@21020 16 compile_rules() {
wcnagel@1042 17 cd src
pascal@8974 18 cp $stuff/Makefile .
al@21020 19
pascal@15317 20 make LDFLAGS="-lX11 -lXaw -lXmu -lXt -lXpm" &&
al@21020 21 make DESTDIR=$install install
wcnagel@1042 22 }
wcnagel@1042 23
al@21020 24 genpkg_rules() {
wcnagel@1042 25 mkdir -p $fs/var/games/xpat2
pascal@15110 26 cp -a $install/usr $fs
wcnagel@1042 27 mkdir -p $fs/usr/share/X11/app-defaults/
pascal@8974 28 cp -a $stuff/XPat.ad $fs/usr/share/X11/app-defaults/XPat
wcnagel@1042 29 touch $fs/var/games/xpat2/xpat.log
wcnagel@1042 30 chmod 666 $fs/var/games/xpat2/xpat.log
al@21078 31 DEPENDS="libx11 libxt libxaw"
wcnagel@1042 32 }