wok annotate libgnome/receipt @ rev 21304

updated libsdl2-net and libsdl2-net-dev (2.0.0 -> 2.0.1)
author Hans-G?nter Theisgen
date Thu Apr 18 14:46:00 2019 +0100 (2019-04-18)
parents 04d511d5c6bd
children 6831608a1b2a
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@11205 19 # Rules to configure and make the package.
pascal@11205 20 compile_rules()
pascal@11205 21 {
pascal@17626 22 sed -i 's/-DG_DISABLE_DEPRECATED//' libgnome/Makefile*
pascal@11205 23 ./configure \
pascal@11205 24 --sysconfdir=/etc/gnome \
gokhlayeh@11573 25 --localstatedir=/var/lib \
gokhlayeh@11573 26 $CONFIGURE_ARGS &&
pascal@11205 27 make && make install
pascal@11205 28 }
pascal@11205 29
pascal@11205 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11205 31 genpkg_rules()
pascal@11205 32 {
pascal@11205 33 mkdir -p $fs/usr/lib $fs/usr/share
pascal@14714 34 cp -a $install/etc $fs
pascal@14714 35 cp -a $install/usr/bin $fs/usr
pascal@14714 36 cp -a $install/usr/lib/bonobo $fs/usr/lib
pascal@14714 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@11205 38
pascal@11205 39 # Background
pascal@14714 40 cp -a $install/usr/share/gnome-background-* $fs/usr/share
pascal@14714 41 cp -a $install/usr/share/pixmaps $fs/usr/share
pascal@11205 42 mkdir -p $fs/usr/share/images && cd $fs/usr/share/images
pascal@11205 43 ln -s ../pixmaps/backgrounds/gnome/background-default.jpg \
pascal@11205 44 gnome-default.jpg
pascal@11205 45
pascal@11205 46 # Clean unwated files
pascal@11205 47 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
pascal@11205 48 }