wok-undigest annotate libgnome/receipt @ rev 286
Add DEPENDS to libgnome-dev and fix libbonoboui build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jun 02 00:14:01 2011 +0200 (2011-06-02) |
parents | 05e50b4e8fa7 |
children |
rev | line source |
---|---|
erjo@11 | 1 # SliTaz package receipt. |
erjo@11 | 2 |
erjo@11 | 3 PACKAGE="libgnome" |
pankso@227 | 4 VERSION="2.30.0" |
erjo@11 | 5 CATEGORY="x-window" |
erjo@11 | 6 SHORT_DESC="GNOME Library" |
pankso@227 | 7 MAINTAINER="pankso@slitaz.org" |
erjo@11 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@11 | 9 WEB_SITE="http://www.gnome.org" |
erjo@11 | 10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@286 | 11 GENERIC_PIXMAPS="no" |
erjo@11 | 12 |
pankso@273 | 13 DEPENDS="libbonobo gnome-vfs esound audiofile GConf popt alsa-lib dbus-glib" |
pankso@273 | 14 BUILD_DEPENDS="libbonobo-dev gnome-vfs-dev esound-dev audiofile-dev \ |
pankso@273 | 15 GConf-dev popt-dev alsa-lib-dev dbus-glib-dev" |
pankso@273 | 16 |
erjo@11 | 17 # Rules to configure and make the package. |
erjo@11 | 18 compile_rules() |
erjo@11 | 19 { |
erjo@11 | 20 cd $src |
erjo@11 | 21 ./configure \ |
erjo@11 | 22 --sysconfdir=/etc/gnome \ |
pankso@227 | 23 --localstatedir=/var/lib && |
pankso@227 | 24 make && make install |
erjo@11 | 25 } |
erjo@11 | 26 |
erjo@11 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@11 | 28 genpkg_rules() |
erjo@11 | 29 { |
pankso@227 | 30 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@36 | 31 cp -a $_pkg/etc $fs |
erjo@11 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@36 | 33 cp -a $_pkg/usr/lib/bonobo $fs/usr/lib |
erjo@11 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@36 | 35 |
pankso@36 | 36 # Background |
pankso@36 | 37 cp -a $_pkg/usr/share/gnome-background-* $fs/usr/share |
erjo@11 | 38 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pankso@36 | 39 mkdir -p $fs/usr/share/images && cd $fs/usr/share/images |
pankso@36 | 40 ln -s ../pixmaps/backgrounds/gnome/background-default.jpg \ |
pankso@36 | 41 gnome-default.jpg |
pankso@36 | 42 |
erjo@11 | 43 # Clean unwated files |
erjo@11 | 44 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \; |
erjo@11 | 45 } |
erjo@11 | 46 |