# gnome-vfs, ftp://ftp.gnome.org/pub/gnome/sources/gnome-vfs

name=gnome-vfs
version=2.20.1
release=1
source=(ftp://ftp.gnome.org/pub/gnome/platform/2.20/2.20.2/sources/$name-$version.tar.bz2)

build() {
    cd $name-$version
    sed -i "s/USE_NLS=yes/USE_NLS=no/
	s/ENABLE_NLS 1/ENABLE_NLS 0/" configure
    ./configure \
	--prefix=/usr \
	--mandir=/usr/share/man \
	--infodir=/usr/share/info \
	--with-gtk=no \
	--with-dbus-service-dir=/usr/share/dbus-1/services \
	--disable-schemas-install \
	--enable-openssl \
	--disable-gtk-doc \
	--enable-ipv6 \
	--enable-hal \
	--enable-avahi \
	--disable-howl \
	--disable-nls

    make
    export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
    make DESTDIR=$PKG install
    rm -rf $PKG/usr/share/{doc,gtk-doc}
}
