wok view lv2/receipt @ rev 25457
Normazile https://sourceforge.net/projects web_sites
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 23 08:28:09 2022 +0000 (2022-09-23) |
parents | c9ed77869d08 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lv2"
4 VERSION="1.18.4"
5 CATEGORY="development"
6 SHORT_DESC="Portable plugin standard for audio systems."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://lv2plug.in/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://lv2plug.in/spec/$TARBALL"
14 DEPENDS="libsndfile"
15 BUILD_DEPENDS="pkg-config libsndfile-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./waf configure --prefix=/usr &&
28 ./waf build &&
29 ./waf install --destdir=$DESTDIR
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs
36 }