wok-next view gnome-vfs/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | d3444352a0af |
children | d2950281f122 |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="https://developer.gnome.org/gnome-vfs/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="gtk+-dev dbus-glib-dev GConf-dev bzip2-dev shared-mime-info \
15 gnome-mime-data-dev libxml2-dev zlib-dev intltool gnutls-dev libgcrypt-dev \
16 libtool gtk-doc automake"
17 SPLIT="gnome-vfs gnome-vfs-dev gnome-vfs-i18n"
19 compile_rules() {
20 sed -i 's|$(srcdir)/auto-test|auto-test|' test/Makefile.am
21 libtoolize --force
22 gtkdocize
23 aclocal
24 autoconf
25 automake --add-missing
26 CFLAGS="$CFLAGS -fno-strict-aliasing" \
27 ./configure \
28 --disable-static \
29 --libexecdir=/usr/lib/gnome-vfs-2.0 \
30 --disable-hal \
31 --disable-howl \
32 --disable-openssl \
33 --enable-gnutls \
34 &&
35 fix libtool &&
36 # sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool &&
37 make &&
38 make \
39 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
40 DESTDIR=$DESTDIR \
41 install || return 1
43 # mkdir -p $install/usr/share/gconf/schemas/
44 # gconf-merge-schema \
45 # $install/usr/share/gconf/schemas/$PACKAGE.schemas \
46 # --domain gnome-vfs-2.0 \
47 # $install/etc/gconf/schemas/*.schemas
48 # rm -f $install/etc/gconf/schemas/*.schemas
52 # sed -i 's/-DG_DISABLE_DEPRECATED//' */Makefile*
53 # ./configure \
54 # --prefix=/usr \
55 # --sysconfdir=/etc/gnome \
56 # --libexecdir=/usr/lib/gnome-vfs-2.0 \
57 # --disable-schemas-install \
58 # $CONFIGURE_ARGS &&
59 # make && make DESTDIR=$DESTDIR install
60 }
62 genpkg_rules() {
63 case $PACKAGE in
64 gnome-vfs)
65 copy @std
66 DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libxml2 \
67 orbit2 zlib"
68 ;;
69 *-dev)
70 copy @dev
71 DEPENDS="gnome-vfs GConf-dev glib-dev"
72 ;;
73 gnome-vfs-i18n)
74 copy locale/
75 CAT="localization|language files"
76 DEPENDS="gnome-vfs"
77 ;;
78 esac
79 }