wok annotate normalize/receipt @ rev 25538
get-java8-jre: get version 8u361 by default
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 03 17:41:58 2023 +0100 (21 months ago) |
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 |