wok-6.x annotate serd/receipt @ rev 24581

updated libspectrum and libspectrum-dev (1.4.4 -> 1.5.0)
author Hans-G?nter Theisgen
date Sun Feb 27 17:07:05 2022 +0100 (2022-02-27)
parents 3b146ee1b791
children 870e1ce31226
rev   line source
pascal@13383 1 # SliTaz package receipt.
pascal@13383 2
pascal@13383 3 PACKAGE="serd"
Hans-G?nter@23639 4 VERSION="0.30.2"
pascal@13383 5 CATEGORY="development"
pascal@13383 6 SHORT_DESC="A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples."
pascal@13383 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15593 8 LICENSE="ISC"
Hans-G?nter@21900 9 WEB_SITE="https://drobilla.net/software/serd/"
Hans-G?nter@21900 10
pascal@13383 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@13383 12 WGET_URL="http://download.drobilla.net/$TARBALL"
pascal@13383 13
Hans-G?nter@21900 14 DEPENDS="gcc83-lib-base"
Hans-G?nter@21900 15 BUILD_DEPENDS="gcc83"
pascal@13383 16
pascal@24462 17 # What is the latest version available today?
pascal@24462 18 current_version()
pascal@24462 19 {
pascal@24462 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24462 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24462 22 }
pascal@24462 23
pascal@13383 24 # Rules to configure and make the package.
pascal@13383 25 compile_rules()
pascal@13383 26 {
Hans-G?nter@21900 27 export CC=gcc-83
Hans-G?nter@21900 28 export CXX=g++-83
Hans-G?nter@21900 29
pascal@13383 30 ./waf configure --prefix=/usr &&
pascal@13383 31 ./waf build &&
pascal@13383 32 ./waf install --destdir=$DESTDIR
pascal@13383 33 }
pascal@13383 34
pascal@13383 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13383 36 genpkg_rules()
pascal@13383 37 {
pascal@13383 38 mkdir -p $fs/usr/lib
Hans-G?nter@21900 39
Hans-G?nter@21900 40 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21900 41 cp -a $install/usr/lib/lib* $fs/usr/lib
pascal@13383 42 }