wok-undigest annotate gnome-vfs/receipt @ rev 174
bmpanel*: moved to wok
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Oct 19 20:59:38 2010 -0400 (2010-10-19) |
parents | |
children |
rev | line source |
---|---|
erjo@6 | 1 # SliTaz package receipt. |
erjo@6 | 2 |
erjo@6 | 3 PACKAGE="gnome-vfs" |
erjo@6 | 4 VERSION="2.24.2" |
erjo@6 | 5 CATEGORY="x-window" |
erjo@6 | 6 SHORT_DESC="The GNOME Virtual File System libraries" |
erjo@6 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@6 | 8 DEPENDS="dbus-glib gconf gnome-mime-data" |
erjo@6 | 9 BUILD_DEPENDS="gtk+-dev dbus-glib-dev gconf-dev bzip2-dev gnome-mime-data" |
erjo@6 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@6 | 11 WEB_SITE="http://www.gnome.org" |
erjo@6 | 12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
erjo@6 | 13 |
erjo@6 | 14 # Rules to configure and make the package. |
erjo@6 | 15 compile_rules() |
erjo@6 | 16 { |
erjo@6 | 17 cd $src |
erjo@6 | 18 ./configure \ |
erjo@6 | 19 --prefix=/usr \ |
erjo@6 | 20 --sysconfdir=/etc/gnome \ |
erjo@6 | 21 --libexecdir=/usr/lib/gnome-vfs-2.0 \ |
erjo@6 | 22 $CONFIGURE_ARGS && |
erjo@6 | 23 make && make DESTDIR=$PWD/_pkg install |
erjo@6 | 24 } |
erjo@6 | 25 |
erjo@6 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@6 | 27 genpkg_rules() |
erjo@6 | 28 { |
erjo@6 | 29 mkdir -p $fs/usr/share $fs/usr/lib |
erjo@6 | 30 cp -a $_pkg/usr/bin $fs/usr |
erjo@6 | 31 cp -a $_pkg/usr/share/dbus* $fs/usr/share |
erjo@6 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@6 | 33 cp -a $_pkg/usr/lib/gnome-vfs* $fs/usr/lib |
erjo@6 | 34 |
erjo@6 | 35 # Clean unwated files |
erjo@6 | 36 cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \; |
erjo@6 | 37 |
erjo@6 | 38 # Stripping all |
erjo@6 | 39 find . -name "*.so" -exec strip -s {} \; |
erjo@6 | 40 } |