wok-6.x view vorbis-tools/receipt @ rev 24142
linux-aufs: git checkout problem ?
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 15 08:46:59 2021 +0000 (2021-11-15) |
parents | c02f18f9e836 |
children | 095836df71b7 |
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 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 cd $src
29 ./configure $CONFIGURE_ARGS && make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }