wok view audiofile/receipt @ rev 25548

aaphoto: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 23 17:05:06 2023 +0000 (20 months ago)
parents e1e1678c5265
children
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="https://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 }