wok view vorbis-tools/receipt @ rev 24414
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 10 11:43:39 2022 +0000 (2022-02-10) |
parents | 095836df71b7 |
children | bc2b9d9bed6f |
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 - ftp://ftp.osuosl.org/pub/xiph/releases/vorbis/ 2>/dev/null | \
23 sed '/vorbis-tools-/!d;/tar/!d;s|.*vorbis-tools-\(.*\).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 }