wok view audiofile/receipt @ rev 24525

Up libav (0.6.6 -> 12.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 22 16:15:28 2022 +0000 (2022-02-22)
parents 6cfb86797173
children e1e1678c5265
line source
1 # SliTaz package receipt.
3 PACKAGE="audiofile"
4 VERSION="0.3.6"
5 CATEGORY="development"
6 SHORT_DESC="Uniform and elegant API for various audio file formats"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.68k.org/~michael/audiofile/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://audiofile.68k.org/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="alsa-lib"
16 BUILD_DEPENDS="alsa-lib-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://github.com/mpruett/audiofile/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/audiofile-\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }