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