summaryrefslogtreecommitdiffstats
path: root/kde/redland/Pkgfile
blob: f1f9ab5b469539ab6c4dbdff707ca59f0a704c20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Description: Librairies RDF de Redland
# URL: http://download.librdf.org/source/
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: raptor, db, rasqal, sqlite3, unixodbc, gtk-doc, mpfr, libpostgresql

name=redland
version=1.0.10
release=3
source=(http://download.librdf.org/source/$name-$version.tar.gz)
build() {
	cd $name-$version
	sed -i -e '/SHAVE/d' configure.ac
	./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
}