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