wok view GConf/receipt @ rev 24844

libunibreak: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 25 09:14:23 2022 +0000 (2022-03-25)
parents 728aee21c7d0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="GConf"
4 VERSION="3.2.6"
5 CATEGORY="utilities"
6 SHORT_DESC="A configuration database system."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="LGPL2"
9 WEB_SITE="https://www.gnome.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="atk cairo dbus dbus-glib expat fontconfig freetype glib glibc-base gtk+
15 libgio libpng libxml2 ORBit2 pango pixman polkit xorg-libX11 xorg-libXau
16 xorg-libXcomposite xorg-libXcursor xorg-libXdamage xorg-libXdmcp
17 xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender zlib"
18 BUILD_DEPENDS="dbus-dev dbus-glib-dev gettext gobject-introspection-dev intltool
19 libcomerr3 libcrypto libxml2-dev ORBit2-dev polkit-dev"
21 current_version()
22 {
23 wget -O - $(dirname $WGET_URL) 2>/dev/null | sed '/LATEST/!d;s|.*IS-||;s|<.*||'
24 }
26 # Handle cross comilation. Use host Perl, Python, etc
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --sysconfdir=/etc \
32 --libexecdir=/usr/lib/GConf \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 mkdir -p $fs/usr/share
44 cp -a $install/usr/lib/GConf $fs/usr/lib
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
47 rm $fs/usr/lib/GConf/2/*.*a
48 cp -a $install/usr/bin $fs/usr
49 cp -a $install/etc $fs
50 cp -a $install/usr/share/dbus-1 $fs/usr/share
51 cp -a $install/usr/share/polkit-1 $fs/usr/share
52 }