wok annotate ladspa/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (2022-09-28)
parents 34e801e0eb52
children
rev   line source
slaxemulator@6803 1 # SliTaz package receipt.
slaxemulator@6803 2
slaxemulator@6803 3 PACKAGE="ladspa"
Hans-G?nter@24703 4 VERSION="1.17"
slaxemulator@6803 5 CATEGORY="multimedia"
Hans-G?nter@21094 6 TAGS="audio multimedia"
slaxemulator@6803 7 MAINTAINER="jozee@slitaz.org"
pascal@15379 8 LICENSE="LGPL2.1"
Hans-G?nter@21094 9 SHORT_DESC="Linux Audio Developer's Simple Plugin API (LADSPA)."
slaxemulator@6803 10 WEB_SITE="http://www.ladspa.org/"
Hans-G?nter@21094 11
slaxemulator@6803 12 TARBALL="${PACKAGE}_sdk_$VERSION.tgz"
Hans-G?nter@21094 13 WGET_URL="${WEB_SITE}download/$TARBALL"
slaxemulator@6803 14
Hans-G?nter@24703 15 DEPENDS="gcc-lib-base libsndfile"
Hans-G?nter@24703 16 BUILD_DEPENDS="libsndfile-dev"
pascal@15079 17
pascal@24497 18 # What is the latest version available today?
pascal@24497 19 current_version()
pascal@24497 20 {
pascal@24497 21 wget -O - ${WEB_SITE}download/index.html 2>/dev/null | \
pascal@24497 22 sed '/latest/d;/ladspa_sdk_[0-9]/!d;/tgz/!d;s|.*ladspa_sdk_||;s|.tgz.*||' | sort -Vr | sed q
pascal@24497 23 }
pascal@24497 24
slaxemulator@6803 25 # Rules to configure and make the package.
pascal@15079 26 compile_rules()
pascal@15079 27 {
Hans-G?nter@24703 28 cd src
Hans-G?nter@21094 29
Hans-G?nter@24703 30 # not applicable since version 1.15:
Hans-G?nter@21094 31 # sed -i -e 's/mkdirhier/mkdir -p/' makefile
Hans-G?nter@21094 32
Hans-G?nter@24703 33 make targets &&
Hans-G?nter@24703 34 make install \
Hans-G?nter@21094 35 INSTALL_PLUGINS_DIR=$DESTDIR/usr/lib/ladspa/ \
Hans-G?nter@21094 36 INSTALL_INCLUDE_DIR=$DESTDIR/usr/include/ \
Hans-G?nter@21094 37 INSTALL_BINARY_DIR=$DESTDIR/usr/bin/
slaxemulator@6803 38 }
slaxemulator@6803 39
slaxemulator@6803 40 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6803 41 genpkg_rules()
slaxemulator@6803 42 {
Hans-G?nter@24703 43 cook_copy_folders bin
Hans-G?nter@24703 44 cook_copy_folders lib
slaxemulator@6803 45 }