wok-current annotate normalize/receipt @ rev 24906

updated minidlna (1.2.1 -> 1.3.0)
author Hans-G?nter Theisgen
date Sat Apr 09 14:37:52 2022 +0100 (2022-04-09)
parents 380ffe05937a
children
rev   line source
devl547@5665 1 # SliTaz package receipt.
devl547@5665 2
devl547@5665 3 PACKAGE="normalize"
devl547@5665 4 VERSION="0.7.7"
devl547@5665 5 CATEGORY="multimedia"
devl547@5665 6 SHORT_DESC="Audio file volume normalizer"
devl547@5665 7 MAINTAINER="devl547@gmail.com"
pascal@15000 8 LICENSE="GPL2"
devl547@5665 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
devl547@5665 10 WEB_SITE="http://normalize.nongnu.org/"
devl547@5665 11 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"
pascal@15000 12
pascal@6109 13 BUILD_DEPENDS="libmad-dev audiofile-dev"
pascal@6109 14 DEPENDS="libmad audiofile"
devl547@5665 15
pascal@24415 16 # What is the latest version available today?
pascal@24415 17 current_version()
pascal@24415 18 {
pascal@24415 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24415 20 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 21 }
pascal@24415 22
devl547@5665 23 # Rules to configure and make the package.
devl547@5665 24 compile_rules()
devl547@5665 25 {
devl547@5665 26 cd $src
devl547@5665 27 ./configure --prefix=/usr --sysconfdir=/etc \
devl547@5665 28 --libexecdir=/usr/bin --mandir=/usr/share/man \
devl547@5665 29 $CONFIGURE_ARGS &&
devl547@5665 30 make &&
pascal@15000 31 make DESTDIR=$DESTDIR install
devl547@5665 32 }
devl547@5665 33
devl547@5665 34 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@5665 35 genpkg_rules()
devl547@5665 36 {
devl547@5665 37 mkdir -p $fs/usr/
pascal@15000 38 cp -a $install/usr/bin $fs/usr
devl547@5665 39 }
pascal@6109 40