wok-current view system-tools-backends/receipt @ rev 25204
updated python-mock (1.0.1 -> 3.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 14:28:15 2022 +0100 (2022-07-13) |
parents | 6135577f4d08 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="system-tools-backends"
4 VERSION="2.10.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNOME System Tools backends"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="https://system-tools-backends.freedesktop.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="dbus dbus-glib glib glibc-base libffi libgio pcre polkit zlib"
14 BUILD_DEPENDS="dbus-dev polkit-dev dbus-glib-dev glib-dev"
16 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
19 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --sysconfdir=/etc \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 cp -a $install/* $fs
35 rm -rf $fs/usr/share/locale
36 }