wok view sratom/receipt @ rev 25005

updated ntl (11.4.3 -> 11.5.1)
author Hans-G?nter Theisgen
date Mon May 16 16:29:07 2022 +0100 (2022-05-16)
parents 934055de50e2
children da47eb3e3c50
line source
1 # SliTaz package receipt.
3 PACKAGE="sratom"
4 VERSION="0.6.4"
5 CATEGORY="development"
6 SHORT_DESC="A library for serialising LV2 atoms to and from RDF, particularly the Turtle syntax."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="ISC"
9 WEB_SITE="https://drobilla.net/software/sratom.html"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://download.drobilla.net/$TARBALL"
14 DEPENDS="gcc83-lib-base serd sord"
15 BUILD_DEPENDS="gcc83 lv2 pkg-config serd-dev sord-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 export CC=gcc-83
28 export CXX=g++-83
30 ./waf configure --prefix=/usr &&
31 ./waf build &&
32 ./waf install --destdir=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/* $fs
39 }