wok annotate libgnome/receipt @ rev 11205
Add from wok-undigest: libbonoboui libdesktop-agnostic libfm libgnome libgnome-keyring libgnomeui libgtop libruby
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 03 10:53:25 2011 +0100 (2011-11-03) |
parents | |
children | a7acdc68e38c |
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@11205 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11205 | 9 WEB_SITE="http://www.gnome.org" |
pascal@11205 | 10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@11205 | 11 GENERIC_PIXMAPS="no" |
pascal@11205 | 12 |
pascal@11205 | 13 DEPENDS="libbonobo gnome-vfs esound audiofile GConf popt alsa-lib dbus-glib" |
pascal@11205 | 14 BUILD_DEPENDS="libbonobo-dev gnome-vfs-dev esound-dev audiofile-dev \ |
pascal@11205 | 15 GConf-dev popt-dev alsa-lib-dev dbus-glib-dev" |
pascal@11205 | 16 |
pascal@11205 | 17 # Rules to configure and make the package. |
pascal@11205 | 18 compile_rules() |
pascal@11205 | 19 { |
pascal@11205 | 20 cd $src |
pascal@11205 | 21 ./configure \ |
pascal@11205 | 22 --sysconfdir=/etc/gnome \ |
pascal@11205 | 23 --localstatedir=/var/lib && |
pascal@11205 | 24 make && make install |
pascal@11205 | 25 } |
pascal@11205 | 26 |
pascal@11205 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11205 | 28 genpkg_rules() |
pascal@11205 | 29 { |
pascal@11205 | 30 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@11205 | 31 cp -a $_pkg/etc $fs |
pascal@11205 | 32 cp -a $_pkg/usr/bin $fs/usr |
pascal@11205 | 33 cp -a $_pkg/usr/lib/bonobo $fs/usr/lib |
pascal@11205 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@11205 | 35 |
pascal@11205 | 36 # Background |
pascal@11205 | 37 cp -a $_pkg/usr/share/gnome-background-* $fs/usr/share |
pascal@11205 | 38 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pascal@11205 | 39 mkdir -p $fs/usr/share/images && cd $fs/usr/share/images |
pascal@11205 | 40 ln -s ../pixmaps/backgrounds/gnome/background-default.jpg \ |
pascal@11205 | 41 gnome-default.jpg |
pascal@11205 | 42 |
pascal@11205 | 43 # Clean unwated files |
pascal@11205 | 44 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \; |
pascal@11205 | 45 } |
pascal@11205 | 46 |