wok-current annotate system-tools-backends/receipt @ rev 25293

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