wok view raptor/receipt @ rev 25421
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 10 07:02:08 2022 +0000 (2022-08-10) |
parents | c9bc237ebf2f |
children | 73f36875e5a7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="raptor"
4 VERSION="2.0.15"
5 CATEGORY="multimedia"
6 SHORT_DESC="A C library that parses RDF/XML/N-Triples into RDF triples."
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://librdf.org/raptor"
11 SOURCE="raptor2"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="http://librdf.org/dist/source/$TARBALL"
15 DEPENDS="curl libxml2 libxslt openssl zlib"
16 BUILD_DEPENDS="curl-dev libidn-dev libxml2-dev libxslt-dev openssl-dev zlib-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
22 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --disable-static \
30 --with-yajl=no \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install prefix=/usr
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 mkdir -p $fs/usr/bin
42 cp -a $install/usr/bin/rapper $fs/usr/bin
43 cp -a $install/usr/lib/*so* $fs/usr/lib/
44 }