wok annotate portaudio/receipt @ rev 25697

dool: reduced size of package
author Hans-G?nter Theisgen
date Sun May 12 07:10:04 2024 +0100 (5 weeks ago)
parents 5db546345599
children
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"
pascal@25619 9 WEB_SITE="https://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@25603 22 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@25603 23 sed '/tag\//!d;s|.*tag/v*||;s|".*||;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 }