wok-next view raptor/receipt @ rev 20300

Up gnustep-base (1.25.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 10 08:19:00 2017 +0100 (2017-11-10)
parents 408c87fa22ca
children d43bf7aae921
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 pkg-config"
37 ;;
38 esac
39 }