wok-current view libgnome/receipt @ rev 23422

updated perltidy (20140711 -> 20200110)
author Hans-G?nter Theisgen
date Wed Apr 01 08:11:45 2020 +0100 (2020-04-01)
parents 04d511d5c6bd
children 6831608a1b2a
line source
1 # SliTaz package receipt.
3 PACKAGE="libgnome"
4 VERSION="2.30.0"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME Library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.gnome.org"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
12 GENERIC_PIXMAPS="no"
14 DEPENDS="libbonobo gnome-vfs esound audiofile GConf popt alsa-lib dbus-glib \
15 openssl"
16 BUILD_DEPENDS="libbonobo-dev gnome-vfs-dev esound-dev audiofile-dev \
17 GConf-dev popt-dev alsa-lib-dev dbus-glib-dev intltool libffi libxml2-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's/-DG_DISABLE_DEPRECATED//' libgnome/Makefile*
23 ./configure \
24 --sysconfdir=/etc/gnome \
25 --localstatedir=/var/lib \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib $fs/usr/share
34 cp -a $install/etc $fs
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/bonobo $fs/usr/lib
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 # Background
40 cp -a $install/usr/share/gnome-background-* $fs/usr/share
41 cp -a $install/usr/share/pixmaps $fs/usr/share
42 mkdir -p $fs/usr/share/images && cd $fs/usr/share/images
43 ln -s ../pixmaps/backgrounds/gnome/background-default.jpg \
44 gnome-default.jpg
46 # Clean unwated files
47 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
48 }