wok-6.x view audiofile/receipt @ rev 24408

ncurses-dev: copy pkgconfig
author Hans-G?nter Theisgen
date Wed Feb 09 14:18:05 2022 +0100 (2022-02-09)
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 }