wok view gnome-vfs/receipt @ rev 17607
gnome-vfs: remove G_DISABLE_DEPRECATED
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 12 17:01:44 2015 +0100 (2015-02-12) |
parents | 380ffe05937a |
children | 6e8b1bcb30e2 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gnome.org"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libgio libxml2 ORBit2 \
14 zlib"
15 BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev gnome-mime-data \
16 libxml2-dev zlib-dev intltool pkg-config"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's/-DG_DISABLE_DEPRECATED//' */Makefile*
22 ./configure \
23 --prefix=/usr \
24 --sysconfdir=/etc/gnome \
25 --libexecdir=/usr/lib/gnome-vfs-2.0 \
26 --disable-schemas-install \
27 $CONFIGURE_ARGS &&
28 make && make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $install/usr/lib/gnome-vfs* $fs/usr/lib
38 cp -a $install/usr/share/dbus* $fs/usr/share
39 cp -a $install/etc /$fs
41 # Clean unwated files
42 cd $fs/usr/lib/gnome-vfs-2.0 ; find . -name "*.*a" -exec rm -f {} \;
43 rm -rf ./include
44 }