summaryrefslogtreecommitdiffstats
path: root/kde/redland/Pkgfile
blob: 37a5f6f41d3d6a05f4e9db1e686147c8b9af71c0 (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
25
26
27
# Description: Librairies RDF de Redland
# URL: http://download.librdf.org/source/
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: raptor, rasqal, sqlite3, unixodbc, gtk-doc

name=redland
version=1.0.10
release=2
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
	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
	make
	make DESTDIR=$PKG install
	rm -rf $PKG/usr/share/gtk-doc
}