wok-6.x view vorbis-tools/receipt @ rev 24326

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 27 12:16:00 2022 +0000 (2022-01-27)
parents 5d79829fa876
children 3abeffdae80b
line source
1 # SliTaz package receipt.
3 PACKAGE="vorbis-tools"
4 VERSION="1.4.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Vorbis encoder, decoder and tiny tools."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://www.xiph.org/vorbis/"
11 WGET_URL="https://downloads.xiph.org/releases/vorbis/$TARBALL"
12 TAGS="multimedia ogg"
13 HOST_ARCH="i486 arm"
15 DEPENDS="libogg libvorbis flac libao libcurl speex libcrypto"
16 BUILD_DEPENDS="libogg-dev libvorbis-dev flac-dev libao-dev curl-dev speex-dev \
17 libcrypto-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://www.xiph.org/downloads/ 2>/dev/null | \
23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 cd $src
31 ./configure $CONFIGURE_ARGS && make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 }