wok view vorbisgain/receipt @ rev 24974

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (24 months ago)
parents 922f061231c2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="vorbisgain"
4 VERSION="0.37"
5 CATEGORY="multimedia"
6 SHORT_DESC="Analyzes and adjusts volume on ogg vorbis files."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://sjeng.org/vorbisgain.html"
11 WGET_URL="https://sjeng.org/ftp/vorbis/$TARBALL"
13 DEPENDS="libogg libvorbis"
14 BUILD_DEPENDS="libogg-dev libvorbis-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cd $src
27 ./configure \
28 --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 }