wok annotate gob2/receipt @ rev 25083
updated p11-kit and p11-kit-dev (0.23.20 -> 0.24.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 15 17:22:15 2022 +0100 (2022-06-15) |
parents | c592287b8ce7 |
children |
rev | line source |
---|---|
jozee@4499 | 1 # SliTaz package receipt. |
jozee@4499 | 2 |
jozee@4499 | 3 PACKAGE="gob2" |
Hans-G?nter@20984 | 4 VERSION="2.0.20" |
jozee@4499 | 5 CATEGORY="x-window" |
jozee@4499 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@15000 | 7 LICENSE="GPL2" |
Hans-G?nter@20984 | 8 SHORT_DESC="GTK Object Builder (GOB) is a simple preprocessor for easily creating GTK objects." |
Hans-G?nter@20984 | 9 WEB_SITE="https://www.jirka.org/gob.html" |
Hans-G?nter@20984 | 10 |
Hans-G?nter@20984 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@17869 | 12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/${PACKAGE}/${VERSION%.*}/$TARBALL" |
jozee@4499 | 13 |
pascal@15000 | 14 DEPENDS="glib" |
pascal@15000 | 15 BUILD_DEPENDS="flex glib-dev" |
Hans-G?nter@20984 | 16 HOST_ARCH="i486 arm" |
pascal@15000 | 17 |
pascal@24111 | 18 current_version() |
pascal@24111 | 19 { |
pascal@24111 | 20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 22 } |
pascal@24111 | 23 |
jozee@4499 | 24 # Rules to configure and make the package. |
Hans-G?nter@20984 | 25 compile_rules() |
Hans-G?nter@20984 | 26 { |
Hans-G?nter@20984 | 27 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@20984 | 28 make -j1 && |
Hans-G?nter@20984 | 29 make install |
jozee@4499 | 30 } |
jozee@4499 | 31 |
jozee@4499 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4499 | 33 genpkg_rules() |
jozee@4499 | 34 { |
jozee@4499 | 35 mkdir -p $fs/usr |
pascal@15000 | 36 cp -a $install/usr/bin $fs/usr |
jozee@4499 | 37 } |