# Description: C++ wrapper for the gnomevfs2 library. # URL: http://ftp.gnome.org/pub/gnome/sources/gnome-vfsmm/ # Maintainer: Petar Petrov, slackalaxy at gmail dot com # Depends on: glibmm gnome-vfs doxygen name=gnome-vfsmm version=2.26.0 release=1 source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.bz2) build() { cd $name-$version # Move a generated header between the others sed -i "s|(libdir)/gnome-vfsmm-2\.6/include|(includedir)/gnome-vfsmm-2.6|" \ libgnomevfs/Makefile.in CXXFLAGS="$CFLAGS -std=c++11" \ ./configure --prefix=/usr \ --sysconfdir=/usr/etc \ --disable-nls make make install DESTDIR=$PKG rm -f $PKG/{,usr/}lib/*.la }