wok-current view dconf/receipt @ rev 25383
updated units (2.19 -> 2.21)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jul 30 17:22:12 2022 +0100 (2022-07-30) |
parents | 282531ce3347 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="dconf"
4 VERSION="0.13.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="A low-level configuration system"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://live.gnome.org/dconf"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 HI_VERSION=$(echo $VERSION | cut -d. -f1,2)
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/$HI_VERSION/$TARBALL"
14 DEPENDS="dbus"
15 BUILD_DEPENDS="vala glib-dev dbus-dev gtk+3-dev libxml2-dev"
16 GENERIC_MENUS="no"
17 GENERIC_PIXMAPS="no"
19 current_version()
20 {
21 wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE/ 2>/dev/null | \
22 sed '/href="[0-9]/!d;s|.*href="\(.*\)/".*|\1|' | sort -Vr | sed q) 2>/dev/null | \
23 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --sysconfdir=/etc \
31 --libexecdir=/usr/lib \
32 $CONFIGURE_ARGS &&
33 make &&
34 make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p \
41 $fs/usr/bin \
42 $fs/usr/lib \
43 $fs/usr/share
44 cp -a $install/usr/bin/dconf $fs/usr/bin
45 cp -a $install/usr/lib/gio $fs/usr/lib
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $install/usr/lib/dconf-service $fs/usr/lib
48 cp -a $install/usr/share/dbus* $fs/usr/share
49 cp -a $install/usr/share/glib* $fs/usr/share
50 }