summaryrefslogtreecommitdiffstats
path: root/kde/redland/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kde/redland/Pkgfile')
-rwxr-xr-xkde/redland/Pkgfile11
1 files changed, 5 insertions, 6 deletions
diff --git a/kde/redland/Pkgfile b/kde/redland/Pkgfile
index 37a5f6f41..28b30f649 100755
--- a/kde/redland/Pkgfile
+++ b/kde/redland/Pkgfile
@@ -2,25 +2,24 @@
# URL: http://download.librdf.org/source/
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
-# Depends on: raptor, rasqal, sqlite3, unixodbc, gtk-doc
+# Depends on: raptor, db, rasqal, sqlite3, unixodbc, gtk-doc, mpfr, libpostgresql
name=redland
version=1.0.10
-release=2
-source=(http://download.librdf.org/source/$name-$version.tar.gz\
+release=3
+source=(http://download.librdf.org/source/$name-$version.tar.gz \
librdf_storage_register_factory.patch)
build() {
cd $name-$version
- patch -Np1 -i ../librdf_storage_register_factory.patch
-# sed -i -e 's/SQLITE_API/REDLAND_SQLITE_API/g' configure src/rdf_config.h.in src/rdf_storage_sqlite.c
+ patch -p1 -i $SRC/librdf_storage_register_factory.patch
sed -i -e '/SHAVE/d' configure.ac
- autoreconf
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-raptor=system \
--with-rasqual=system \
--with-mysql=no \
--with-sqlite=3
+ sed -i "s|librdf_storage_virtuoso_la_LIBADD = -lodbc|librdf_storage_virtuoso_la_LIBADD = -lodbc librdf.la|" src/Makefile
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/gtk-doc