wok-6.x view vorbisgain/receipt @ rev 24524
eudev: added build dependency libxslt
author | Hans-G?nter Theisgen |
---|---|
date | Tue Feb 22 17:08:18 2022 +0100 (2022-02-22) |
parents | 6135577f4d08 |
children | e1e1678c5265 |
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="http://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 }