wok view portaudio/receipt @ rev 25100
Up fontconfig-infinality (20160915)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 20 09:27:33 2022 +0000 (2022-06-20) |
parents | cfdb128f6428 |
children | ebe8a20944ec |
line source
1 # SliTaz package receipt.
3 PACKAGE="portaudio"
4 VERSION="190600_20161030"
5 CATEGORY="system-tools"
6 SHORT_DESC="A portable cross-platform audio API."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://www.portaudio.com/"
11 TARBALL="pa_stable_v${VERSION}.tgz"
12 WGET_URL="http://www.portaudio.com/archives/$TARBALL"
14 DEPENDS="alsa-lib jack-audio-connection-kit"
15 BUILD_DEPENDS="alsa-lib-dev jack-audio-connection-kit-dev"
17 HOST_ARCH="i486 arm"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
23 sed "/latest/d;/${PACKAGE}_v[0-9]/!d;/zip/!d;s|.*${PACKAGE}_v\\(.*\\).zip.*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 }