wok annotate portaudio/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (16 months ago)
parents 241fb98cab1c
children 5db546345599
rev   line source
erjo@1464 1 # SliTaz package receipt.
erjo@1464 2
erjo@1464 3 PACKAGE="portaudio"
Hans-G?nter@25146 4 VERSION="19.7.0"
erjo@1464 5 CATEGORY="system-tools"
Hans-G?nter@21694 6 SHORT_DESC="A portable cross-platform audio API."
erjo@1464 7 MAINTAINER="erjo@slitaz.org"
Hans-G?nter@21694 8 LICENSE="MIT"
erjo@1464 9 WEB_SITE="http://www.portaudio.com/"
Hans-G?nter@21694 10
Hans-G?nter@25146 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@25146 12 WGET_URL="https://github.com/PortAudio/$PACKAGE/archive/refs/tags/v$VERSION.tar.gz"
erjo@1464 13
pascal@15375 14 DEPENDS="alsa-lib jack-audio-connection-kit"
pascal@15375 15 BUILD_DEPENDS="alsa-lib-dev jack-audio-connection-kit-dev"
pascal@15375 16
Hans-G?nter@21694 17 HOST_ARCH="i486 arm"
Hans-G?nter@21694 18
pascal@24453 19 # What is the latest version available today?
pascal@24453 20 current_version()
pascal@24453 21 {
pascal@24453 22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
pascal@24453 23 sed "/latest/d;/${PACKAGE}_v[0-9]/!d;/zip/!d;s|.*${PACKAGE}_v\\(.*\\).zip.*|\\1|" | sort -Vr | sed q
pascal@24453 24 }
pascal@24453 25
erjo@1464 26 # Rules to configure and make the package.
erjo@1464 27 compile_rules()
erjo@1464 28 {
Hans-G?nter@21694 29 ./configure \
Hans-G?nter@21694 30 --prefix=/usr \
Hans-G?nter@21694 31 --infodir=/usr/share/info \
Hans-G?nter@21694 32 --mandir=/usr/share/man \
Hans-G?nter@21694 33 $CONFIGURE_ARGS &&
erjo@1464 34 make &&
Hans-G?nter@25146 35 make install DESTDIR=$DESTDIR
erjo@1464 36 }
erjo@1464 37
erjo@1464 38 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1464 39 genpkg_rules()
erjo@1464 40 {
Hans-G?nter@25146 41 cook_copy_files *.so*
erjo@1464 42 }