wok-6.x annotate sratom/receipt @ rev 24731
updated libdvdread and libdvdread-dev (6.0.2 -> 6.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 17:30:53 2022 +0100 (2022-03-15) |
parents | 69adfbc9427f |
children | 870e1ce31226 |
rev | line source |
---|---|
pascal@13387 | 1 # SliTaz package receipt. |
pascal@13387 | 2 |
pascal@13387 | 3 PACKAGE="sratom" |
Hans-G?nter@23668 | 4 VERSION="0.6.4" |
pascal@13387 | 5 CATEGORY="development" |
Hans-G?nter@21966 | 6 SHORT_DESC="A library for serialising LV2 atoms to and from RDF, particularly the Turtle syntax." |
pascal@13387 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15593 | 8 LICENSE="ISC" |
Hans-G?nter@21966 | 9 WEB_SITE="https://drobilla.net/software/sratom/" |
Hans-G?nter@21966 | 10 |
pascal@13387 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13387 | 12 WGET_URL="http://download.drobilla.net/$TARBALL" |
pascal@13387 | 13 |
Hans-G?nter@21966 | 14 DEPENDS="gcc83-lib-base serd sord" |
Hans-G?nter@21966 | 15 BUILD_DEPENDS="gcc83 lv2 pkg-config serd-dev sord-dev" |
pascal@13387 | 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@13387 | 24 # Rules to configure and make the package. |
pascal@13387 | 25 compile_rules() |
pascal@13387 | 26 { |
Hans-G?nter@21966 | 27 export CC=gcc-83 |
Hans-G?nter@21966 | 28 export CXX=g++-83 |
Hans-G?nter@21966 | 29 |
pascal@13387 | 30 ./waf configure --prefix=/usr && |
pascal@13387 | 31 ./waf build && |
pascal@13387 | 32 ./waf install --destdir=$DESTDIR |
pascal@13387 | 33 } |
pascal@13387 | 34 |
pascal@13387 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13387 | 36 genpkg_rules() |
pascal@13387 | 37 { |
Hans-G?nter@23668 | 38 cp -a $install/* $fs |
pascal@13387 | 39 } |