wok annotate serd/receipt @ rev 25108
Fix open-iscsi
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 23 20:48:12 2022 +0000 (2022-06-23) |
parents | 934055de50e2 |
children | 82befb1c4c20 |
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" |
pascal@24894 | 9 WEB_SITE="https://drobilla.net/software/serd.html" |
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 } |