wok annotate libgee/receipt @ rev 25176

updated python-formalchemy (1.5.5 -> 1.5.6)
author Hans-G?nter Theisgen
date Fri Jul 01 17:52:21 2022 +0100 (23 months ago)
parents 6dfb0d97b97e
children
rev   line source
pankso@12188 1 # SliTaz package receipt.
pankso@12188 2
pankso@12188 3 PACKAGE="libgee"
Hans-G?nter@21224 4 VERSION="0.20.1"
pankso@12188 5 CATEGORY="x-window"
pankso@12188 6 SHORT_DESC="GObject collection library."
pankso@12188 7 MAINTAINER="pankso@slitaz.org"
pascal@14714 8 LICENSE="LGPL2.1"
Hans-G?nter@21224 9 WEB_SITE="https://live.gnome.org/Libgee"
Hans-G?nter@21224 10
pankso@12188 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@21224 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@12188 13
pankso@12188 14 DEPENDS="glib libffi"
Hans-G?nter@21224 15 BUILD_DEPENDS="bash glib-dev gobject-introspection-dev libffi-dev vala"
pankso@12188 16
pascal@24111 17 current_version()
pascal@24111 18 {
pascal@24111 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 21 }
pascal@24111 22
pankso@12188 23 # Rules to configure and make the package.
pankso@12188 24 compile_rules()
pankso@12188 25 {
pascal@20617 26 sed -i 's|Func get_value|Func<V> get_value|' gee/gee-0.8.vapi
Hans-G?nter@21224 27 ./configure \
Hans-G?nter@21224 28 --enable-introspection=yes \
al@14237 29 $CONFIGURE_ARGS &&
Hans-G?nter@21224 30 make -j 1 &&
al@14237 31 make install
pankso@12188 32 }
pankso@12188 33
pankso@12188 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@12188 35 genpkg_rules()
pankso@12188 36 {
pankso@12188 37 mkdir -p $fs/usr/lib
al@14237 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12188 39 }