wok annotate sord/receipt @ rev 24831

updated libsndfile and libsndfile-dev (1.0.28 -> 1.0.31)
author Hans-G?nter Theisgen
date Thu Mar 24 07:19:38 2022 +0100 (2022-03-24)
parents f35073d3864a
children 870e1ce31226
rev   line source
pascal@13383 1 # SliTaz package receipt.
pascal@13383 2
pascal@13383 3 PACKAGE="sord"
Hans-G?nter@23659 4 VERSION="0.16.4"
pascal@13383 5 CATEGORY="development"
pascal@13383 6 SHORT_DESC="A lightweight C library for storing RDF data in memory."
pascal@13383 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15593 8 LICENSE="ISC"
Hans-G?nter@23659 9 WEB_SITE="https://drobilla.net/software/sord/"
Hans-G?nter@21930 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@21930 14 DEPENDS="pcre serd"
Hans-G?nter@21930 15 BUILD_DEPENDS="pcre pkg-config serd-dev"
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 {
pascal@13383 27 ./waf configure --prefix=/usr &&
pascal@13383 28 ./waf build &&
pascal@13383 29 ./waf install --destdir=$DESTDIR
pascal@13383 30 }
pascal@13383 31
pascal@13383 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13383 33 genpkg_rules()
pascal@13383 34 {
pascal@13383 35 mkdir -p $fs/usr/lib
Hans-G?nter@21930 36
Hans-G?nter@21930 37 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21930 38 cp -a $install/usr/lib/lib* $fs/usr/lib
pascal@13383 39 }