wok-6.x view sord/receipt @ rev 24723
updated libcap, libcap-dev and libcap-pam (2.33 -> 2.63)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 10:34:20 2022 +0100 (2022-03-15) |
parents | f35073d3864a |
children | 870e1ce31226 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sord"
4 VERSION="0.16.4"
5 CATEGORY="development"
6 SHORT_DESC="A lightweight C library for storing RDF data in memory."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="ISC"
9 WEB_SITE="https://drobilla.net/software/sord/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://download.drobilla.net/$TARBALL"
14 DEPENDS="pcre serd"
15 BUILD_DEPENDS="pcre pkg-config serd-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./waf configure --prefix=/usr &&
28 ./waf build &&
29 ./waf install --destdir=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/lib* $fs/usr/lib
39 }