wok-current view libgee/receipt @ rev 25569
BootProg: fix boot16.asm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 12 21:35:09 2023 +0000 (19 months ago) |
parents | 6dfb0d97b97e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libgee"
4 VERSION="0.20.1"
5 CATEGORY="x-window"
6 SHORT_DESC="GObject collection library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://live.gnome.org/Libgee"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="glib libffi"
15 BUILD_DEPENDS="bash glib-dev gobject-introspection-dev libffi-dev vala"
17 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|Func get_value|Func<V> get_value|' gee/gee-0.8.vapi
27 ./configure \
28 --enable-introspection=yes \
29 $CONFIGURE_ARGS &&
30 make -j 1 &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }