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