wok-next view gnome-vfs/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 688a27861b6e |
children | d5aab818505e |
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="gtk2-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"
18 COOKOPTS="skip-log-errors"
20 compile_rules() {
21 sed -i 's|$(srcdir)/auto-test|auto-test|' test/Makefile.am
22 libtoolize --force
23 gtkdocize
24 aclocal
25 autoconf
26 automake --add-missing
27 CFLAGS="$CFLAGS -fno-strict-aliasing" \
28 ./configure \
29 --disable-static \
30 --libexecdir=/usr/lib/gnome-vfs-2.0 \
31 --disable-hal \
32 --disable-howl \
33 --disable-openssl \
34 --enable-gnutls \
35 &&
36 fix libtool &&
37 # sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool &&
38 make &&
39 make \
40 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
41 DESTDIR=$DESTDIR \
42 install || return 1
44 # mkdir -p $install/usr/share/gconf/schemas/
45 # gconf-merge-schema \
46 # $install/usr/share/gconf/schemas/$PACKAGE.schemas \
47 # --domain gnome-vfs-2.0 \
48 # $install/etc/gconf/schemas/*.schemas
49 # rm -f $install/etc/gconf/schemas/*.schemas
53 # sed -i 's/-DG_DISABLE_DEPRECATED//' */Makefile*
54 # ./configure \
55 # --prefix=/usr \
56 # --sysconfdir=/etc/gnome \
57 # --libexecdir=/usr/lib/gnome-vfs-2.0 \
58 # --disable-schemas-install \
59 # $CONFIGURE_ARGS &&
60 # make && make DESTDIR=$DESTDIR install
61 }
63 genpkg_rules() {
64 case $PACKAGE in
65 gnome-vfs)
66 copy @std
67 DEPENDS="dbus dbus-glib gconf glib glibc-base libffi libxml2 \
68 orbit2 zlib"
69 ;;
70 *-dev)
71 copy @dev
72 DEPENDS="gnome-vfs gconf-dev glib-dev"
73 ;;
74 gnome-vfs-i18n)
75 copy locale/
76 CAT="localization|language files"
77 DEPENDS="gnome-vfs"
78 ;;
79 esac
80 }