wok-6.x view audiofile/receipt @ rev 25469
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 07 09:15:33 2022 +0000 (2022-10-07) |
parents | 9af0e03b8ad0 |
children | 73f36875e5a7 |
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="https://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 }