wok-current view liboobs/receipt @ rev 24384

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 06 16:04:43 2022 +0000 (2022-02-06)
parents 0dc12582ee9f
children 870e1ce31226
line source
1 # SliTaz package receipt.
3 PACKAGE="liboobs"
4 VERSION="3.0.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Object Oriented Backends System."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://developer.gnome.org/liboobs/stable"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="dbus dbus-glib glib glibc-base libffi pcre system-tools-backends"
15 BUILD_DEPENDS="dbus-glib-dev glib-dev system-tools-backends"
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 ./configure $CONFIGURE_ARGS &&
27 make -j 1 &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }