wok-6.x annotate lv2/receipt @ rev 24611
updated libgd and libgd-dev (2.0.35 -> 2.3.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 04 09:32:37 2022 +0100 (2022-03-04) |
parents | c71df21187b4 |
children | c9ed77869d08 |
rev | line source |
---|---|
pascal@13384 | 1 # SliTaz package receipt. |
pascal@13384 | 2 |
pascal@13384 | 3 PACKAGE="lv2" |
Hans-G?nter@21389 | 4 VERSION="1.16.0" |
pascal@13384 | 5 CATEGORY="development" |
pascal@13384 | 6 SHORT_DESC="Portable plugin standard for audio systems." |
pascal@13384 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 8 LICENSE="MIT" |
pascal@22453 | 9 WEB_SITE="https://lv2plug.in/" |
Hans-G?nter@21389 | 10 |
pascal@13384 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13384 | 12 WGET_URL="http://lv2plug.in/spec/$TARBALL" |
pascal@13384 | 13 |
pascal@13384 | 14 DEPENDS="libsndfile" |
pascal@13384 | 15 BUILD_DEPENDS="pkg-config libsndfile-dev" |
pascal@13384 | 16 |
pascal@24447 | 17 # What is the latest version available today? |
pascal@24447 | 18 current_version() |
pascal@24447 | 19 { |
pascal@24447 | 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24447 | 21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24447 | 22 } |
pascal@24447 | 23 |
pascal@13384 | 24 # Rules to configure and make the package. |
pascal@13384 | 25 compile_rules() |
pascal@13384 | 26 { |
pascal@13384 | 27 ./waf configure --prefix=/usr && |
pascal@13384 | 28 ./waf build && |
pascal@13384 | 29 ./waf install --destdir=$DESTDIR |
pascal@13384 | 30 } |
pascal@13384 | 31 |
pascal@13384 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13384 | 33 genpkg_rules() |
pascal@13384 | 34 { |
pascal@13384 | 35 cp -a $install/* $fs/ |
pascal@13384 | 36 } |