wok-4.x annotate gnome-vfs/receipt @ rev 8897

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