wok-current view gxmessage/receipt @ rev 24395
created recipe for py3k-distutils-extra
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 08 10:23:22 2022 +0100 (2022-02-08) |
parents | d70ed9488748 |
children |
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 }