blob: c2d116a808e2719d6702a0851be4586646b3158e (
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
28
29
30
31
32
33
34
35
36
37
38
|
# 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, mpfr, libpostgresql, mysqlclient, curl, gtk-doc
name=redland
version=1.0.10
release=7
source=(http://download.librdf.org/source/$name-$version.tar.gz
librdf_storage_register_factory.patch)
build() {
# Redland a besoin de libtool 2.2.6b pour que Soprano trouve les rdf
# A la rache mais en attendant ....
pkg-get remove libtool
prt-get depinst libtool226
#
cd $name-$version
patch -p1 -i ../librdf_storage_register_factory.patch
sed -i -e '/SHAVE/d' configure.ac
autoreconf
./configure --prefix=/usr \
--enable-release \
--enable-static \
--sysconfdir=/etc \
--with-raptor=system \
--with-rasqual=system \
--with-sqlite=3
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/gtk-doc
#
# A la rache pour remettre en ordre .....
pkg-get remove libtool226
prt-get depinst libtool
#
}
|