# SliTaz package receipt. PACKAGE="audiofile" VERSION="0.3.6" CATEGORY="development" SHORT_DESC="Uniform and elegant API for various audio file formats" MAINTAINER="allan316@gmail.com" LICENSE="GPL2" WEB_SITE="https://www.68k.org/~michael/audiofile/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://audiofile.68k.org/$TARBALL" HOST_ARCH="i486 arm" DEPENDS="alsa-lib" BUILD_DEPENDS="alsa-lib-dev" # What is the latest version available today? current_version() { wget -O - https://github.com/mpruett/audiofile/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/audiofile-\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { # Fix build with recent gcc # thanks Pat, see on SlakBuild CXXFLAGS="$CXXFLAGS -fpermissive" ./configure \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib }