wok annotate serd/receipt @ rev 25576
Up nimrod (1.6.12)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 13 17:57:27 2023 +0000 (18 months ago) |
parents | 870e1ce31226 |
children |
rev | line source |
---|---|
pascal@13383 | 1 # SliTaz package receipt. |
pascal@13383 | 2 |
pascal@13383 | 3 PACKAGE="serd" |
Hans-G?nter@25300 | 4 VERSION="0.30.12" |
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" |
pascal@24894 | 9 WEB_SITE="https://drobilla.net/software/serd.html" |
Hans-G?nter@21900 | 10 |
pascal@13383 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@25300 | 12 WGET_URL="https://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 } |