wok view gob2/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents c592287b8ce7
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gob2"
4 VERSION="2.0.20"
5 CATEGORY="x-window"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="GTK Object Builder (GOB) is a simple preprocessor for easily creating GTK objects."
9 WEB_SITE="https://www.jirka.org/gob.html"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/${PACKAGE}/${VERSION%.*}/$TARBALL"
14 DEPENDS="glib"
15 BUILD_DEPENDS="flex glib-dev"
16 HOST_ARCH="i486 arm"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$PACKAGE-[0-9]/!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 $CONFIGURE_ARGS &&
28 make -j1 &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }