wok-6.x annotate dconf/receipt @ rev 24559

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