#Maintainer: Dimitris Tzemos #Mandatory pkgname=liblrdf pkgver=0.4.0 pkgrel=2dj source=("http://downloads.sourceforge.net/lrdf/$pkgname/$pkgname-$pkgver.tar.gz" "md5.patch" "raptor2.diff" "pkgconfig-raptor.patch") sourcetemplate=http://people.salixos.org/djemos/salix/$pkgname #Optional docs=("AUTHORS" "ChangeLog" "COPYING" "INSTALL" "NEWS" "README") url=http://sourceforge.net/projects/lrdf/ slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "liblrdf (RDF Manipulation Library)" "liblrdf is a library to make it easy to manipulate RDF files" "describing LADSPA Plugins, but it can also be used for general" "RDF Manipulation." ) build() { cd $startdir/src/$pkgname-$pkgver || return patch -p1 < ../md5.patch || return 1 patch -p0 < ../raptor2.diff || return 1 patch -p1 < ../pkgconfig-raptor.patch || return 1 autoreconf -vfi ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc \ --disable-static --build=$arch-slackware-linux make || return 1 make install DESTDIR=$startdir/pkg || return 1 }