wok view libgnome/receipt @ rev 20255

firefox, thunderbird: try to force i686
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 13 21:40:37 2018 +0100 (23 months ago)
parents 4904e3d374a9
children 6e8b1bcb30e2
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="http://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 }