wok annotate gxmessage/receipt @ rev 24990
idesk: imlib2 >= 1.7.5 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 13 20:03:04 2022 +0000 (2022-05-13) |
parents | d70ed9488748 |
children | d79ed38ace18 |
rev | line source |
---|---|
erjo@2155 | 1 # SliTaz package receipt. |
erjo@2155 | 2 |
erjo@2155 | 3 PACKAGE="gxmessage" |
Hans-G?nter@21022 | 4 VERSION="2.20.4" |
pascal@2180 | 5 CATEGORY="utilities" |
Hans-G?nter@21022 | 6 SHORT_DESC="GTK2-based clone of xmessage." |
erjo@2155 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15589 | 8 LICENSE="GPL2" |
pascal@21219 | 9 WEB_SITE="https://savannah.gnu.org/projects/gxmessage" |
Hans-G?nter@21022 | 10 |
erjo@2155 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21022 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
erjo@2155 | 13 |
Hans-G?nter@21022 | 14 DEPENDS="expat gtk+ xorg-libXdamage" |
pascal@15589 | 15 BUILD_DEPENDS="gtk+-dev" |
pascal@15589 | 16 |
pascal@24336 | 17 # What is the latest version available today? |
pascal@24336 | 18 current_version() |
pascal@24336 | 19 { |
pascal@24336 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24336 | 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24336 | 22 } |
pascal@24336 | 23 |
erjo@2155 | 24 # Rules to configure and make the package. |
erjo@2155 | 25 compile_rules() |
erjo@2155 | 26 { |
Hans-G?nter@21022 | 27 ./configure --prefix=/usr $CONFIGURE_ARGS && |
erjo@2155 | 28 make |
erjo@2155 | 29 } |
erjo@2155 | 30 |
erjo@2155 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2155 | 32 genpkg_rules() |
erjo@2155 | 33 { |
Hans-G?nter@21022 | 34 mkdir -p \ |
Hans-G?nter@21022 | 35 $fs/usr/bin \ |
Hans-G?nter@21022 | 36 $fs/usr/share/pixmaps |
erjo@2155 | 37 |
Hans-G?nter@21022 | 38 cp -a $src/gxmessage $fs/usr/bin |
Hans-G?nter@21022 | 39 cp -a $src/gxmessage.png $fs/usr/share/pixmaps |
erjo@2155 | 40 } |