wok-current annotate GConf/receipt @ rev 25024

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