wok-next view raptor/receipt @ rev 20528
Up tzdata (2018d)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 24 11:10:32 2018 +0200 (2018-03-24) |
parents | 765ba71df4e0 |
children | 10df65db91ad |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="raptor"
4 VERSION="2.0.8"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="A C library that parses RDF/XML/N-Triples into RDF triples"
9 WEB_SITE="http://librdf.org/raptor"
10 SOURCE="raptor2"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="http://librdf.org/dist/source/$TARBALL"
14 BUILD_DEPENDS="libxml2-dev curl-dev zlib-dev openssl-dev libxslt-dev libidn-dev"
15 SPLIT="raptor-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --disable-static --with-yajl=no $CONFIGURE_ARGS &&
22 make && make prefix=/usr install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 case $PACKAGE in
29 raptor)
30 copy @std
31 DEPENDS="libxml2 curl zlib openssl libxslt"
32 ;;
33 raptor-dev)
34 copy @dev
35 ln -s raptor2/raptor2.h $fs/usr/include/raptor.h
36 DEPENDS="raptor curl-dev libxslt-dev"
37 ;;
38 esac
39 }