wok view gnome-vfs/receipt @ rev 8599

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