wok-6.x annotate gnome-hearts/receipt @ rev 25541
w3m: fix version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 10 17:54:21 2023 +0000 (18 months ago) |
parents | d8c511e24c20 |
children |
rev | line source |
---|---|
yuripourre@17009 | 1 # SliTaz package receipt. |
yuripourre@17009 | 2 |
yuripourre@17009 | 3 PACKAGE="gnome-hearts" |
yuripourre@17009 | 4 VERSION="0.3.1" |
yuripourre@17009 | 5 CATEGORY="games" |
yuripourre@17009 | 6 LICENSE="GPL3" |
yuripourre@17009 | 7 SHORT_DESC="GNOME hearts card game." |
yuripourre@17009 | 8 MAINTAINER="yuripourre@gmail.com" |
yuripourre@17009 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20673 | 10 WEB_SITE="https://web.archive.org/web/20131231235520/http://www.jejik.com/gnome-hearts" |
pascal@25465 | 11 WGET_URL="https://www.jejik.com/files/gnome-hearts/$TARBALL" |
yuripourre@17009 | 12 |
yuripourre@17014 | 13 DEPENDS="gtk+ libglade python libgnomeui libgnome-keyring librsvg" |
yuripourre@17009 | 14 BUILD_DEPENDS="gtk+-dev libglade-dev python-dev libgnome-dev \ |
yuripourre@17011 | 15 libgnomeui-dev glib-dev itstool rarian-dev" |
yuripourre@17009 | 16 |
pascal@24491 | 17 # What is the latest version available today? |
pascal@24491 | 18 current_version() |
pascal@24491 | 19 { |
pascal@24491 | 20 wget -O - https://www.jejik.com/gnome-hearts/download/ 2>/dev/null | \ |
pascal@24491 | 21 sed '/gnome-hearts-[0-9]/!d;s|.*hearts-||;s|.tar.*||;q' |
pascal@24491 | 22 } |
pascal@24491 | 23 |
yuripourre@17009 | 24 # Rules to configure and make the package. |
yuripourre@17009 | 25 compile_rules() |
yuripourre@17009 | 26 { |
yuripourre@17009 | 27 ./configure \ |
yuripourre@17009 | 28 --disable-scrollkeeper \ |
yuripourre@17009 | 29 $CONFIGURE_ARGS && |
yuripourre@17009 | 30 make && |
yuripourre@17009 | 31 make DESTDIR=$DESTDIR install |
yuripourre@17009 | 32 } |
yuripourre@17009 | 33 |
yuripourre@17009 | 34 genpkg_rules() |
yuripourre@17009 | 35 { |
yuripourre@17009 | 36 mkdir -p $fs/usr/share |
yuripourre@17009 | 37 cp -a $install/usr/bin $fs/usr |
yuripourre@17009 | 38 cp -a $install/usr/share/pixmaps $fs/usr/share |
yuripourre@17009 | 39 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
yuripourre@17009 | 40 cp -a $install/usr/share/applications $fs/usr/share |
yuripourre@17009 | 41 } |