wok-current view raptor/receipt @ rev 25540

Update some web_site/wget_url with https
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 09 18:12:54 2023 +0000 (21 months ago)
parents 2f230197370e
children
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="https://librdf.org/raptor"
11 SOURCE="raptor2"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://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 }