wok-next view gnome-vfs/receipt @ rev 20553
Up cookutils (1045), tazpkg (963)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 06 13:36:51 2018 +0300 (2018-04-06) |
parents | b19ddba309f9 |
children | d3444352a0af |
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 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 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool &&
36 make &&
37 make \
38 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 \
39 DESTDIR=$DESTDIR \
40 install || return 1
42 # mkdir -p $install/usr/share/gconf/schemas/
43 # gconf-merge-schema \
44 # $install/usr/share/gconf/schemas/$PACKAGE.schemas \
45 # --domain gnome-vfs-2.0 \
46 # $install/etc/gconf/schemas/*.schemas
47 # rm -f $install/etc/gconf/schemas/*.schemas
51 # sed -i 's/-DG_DISABLE_DEPRECATED//' */Makefile*
52 # ./configure \
53 # --prefix=/usr \
54 # --sysconfdir=/etc/gnome \
55 # --libexecdir=/usr/lib/gnome-vfs-2.0 \
56 # --disable-schemas-install \
57 # $CONFIGURE_ARGS &&
58 # make && make DESTDIR=$DESTDIR install
59 }
61 genpkg_rules() {
62 case $PACKAGE in
63 gnome-vfs)
64 copy @std
65 DEPENDS="dbus dbus-glib GConf glib glibc-base libffi libxml2 \
66 orbit2 zlib"
67 ;;
68 *-dev)
69 copy @dev
70 DEPENDS="gnome-vfs GConf-dev glib-dev"
71 ;;
72 gnome-vfs-i18n)
73 copy locale/
74 CAT="localization|language files"
75 DEPENDS="gnome-vfs"
76 ;;
77 esac
78 }