wok annotate libgnome/receipt @ rev 24793

updated libgpg-error and libgpg-error-dev (1.37 -> 1.44)
author Hans-G?nter Theisgen
date Mon Mar 21 15:45:38 2022 +0100 (2022-03-21)
parents 6e8b1bcb30e2
children
rev   line source
pascal@11205 1 # SliTaz package receipt.
pascal@11205 2
pascal@11205 3 PACKAGE="libgnome"
pascal@11205 4 VERSION="2.30.0"
pascal@11205 5 CATEGORY="x-window"
pascal@11205 6 SHORT_DESC="GNOME Library"
pascal@11205 7 MAINTAINER="pankso@slitaz.org"
pascal@14714 8 LICENSE="GPL2"
pascal@11205 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20671 10 WEB_SITE="https://www.gnome.org"
pascal@11205 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@11205 12 GENERIC_PIXMAPS="no"
pascal@11205 13
gokhlayeh@11480 14 DEPENDS="libbonobo gnome-vfs esound audiofile GConf popt alsa-lib dbus-glib \
gokhlayeh@11480 15 openssl"
pascal@11205 16 BUILD_DEPENDS="libbonobo-dev gnome-vfs-dev esound-dev audiofile-dev \
pascal@12582 17 GConf-dev popt-dev alsa-lib-dev dbus-glib-dev intltool libffi libxml2-dev"
pascal@11205 18
pascal@24111 19 current_version()
pascal@24111 20 {
pascal@24111 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 23 }
pascal@24111 24
pascal@11205 25 # Rules to configure and make the package.
pascal@11205 26 compile_rules()
pascal@11205 27 {
pascal@17626 28 sed -i 's/-DG_DISABLE_DEPRECATED//' libgnome/Makefile*
pascal@11205 29 ./configure \
pascal@11205 30 --sysconfdir=/etc/gnome \
gokhlayeh@11573 31 --localstatedir=/var/lib \
gokhlayeh@11573 32 $CONFIGURE_ARGS &&
pascal@11205 33 make && make install
pascal@11205 34 }
pascal@11205 35
pascal@11205 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11205 37 genpkg_rules()
pascal@11205 38 {
pascal@11205 39 mkdir -p $fs/usr/lib $fs/usr/share
pascal@14714 40 cp -a $install/etc $fs
pascal@14714 41 cp -a $install/usr/bin $fs/usr
pascal@14714 42 cp -a $install/usr/lib/bonobo $fs/usr/lib
pascal@14714 43 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@11205 44
pascal@11205 45 # Background
pascal@14714 46 cp -a $install/usr/share/gnome-background-* $fs/usr/share
pascal@14714 47 cp -a $install/usr/share/pixmaps $fs/usr/share
pascal@11205 48 mkdir -p $fs/usr/share/images && cd $fs/usr/share/images
pascal@11205 49 ln -s ../pixmaps/backgrounds/gnome/background-default.jpg \
pascal@11205 50 gnome-default.jpg
pascal@11205 51
pascal@11205 52 # Clean unwated files
pascal@11205 53 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
pascal@11205 54 }