wok-next annotate 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 |
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 |
pascal@20228 | 14 BUILD_DEPENDS="xorg-libX11-dev xorg-libXt-dev xorg-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@21020 | 31 DEPENDS="xorg-libX11 xorg-libXt xorg-libXaw" |
wcnagel@1042 | 32 } |