wok-current view audiofile/receipt @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (8 weeks ago)
parents 73f36875e5a7
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 # Fix build with recent gcc
29 # thanks Pat, see on SlakBuild
30 CXXFLAGS="$CXXFLAGS -fpermissive"
32 ./configure \
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/bin $fs/usr
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 }