wok annotate vorbis-tools/receipt @ rev 25696

created recipe for dool
author Hans-G?nter Theisgen
date Sat May 11 17:17:55 2024 +0100 (6 months ago)
parents bc2b9d9bed6f
children
rev   line source
pankso@84 1 # SliTaz package receipt.
pankso@84 2
pankso@84 3 PACKAGE="vorbis-tools"
Hans-G?nter@25401 4 VERSION="1.4.2"
pankso@206 5 CATEGORY="multimedia"
Hans-G?nter@25401 6 TAGS="multimedia ogg"
pankso@84 7 SHORT_DESC="Vorbis encoder, decoder and tiny tools."
pankso@84 8 MAINTAINER="pankso@slitaz.org"
pascal@15000 9 LICENSE="GPL2"
Hans-G?nter@25401 10 WEB_SITE="https://xiph.org/vorbis/"
Hans-G?nter@25401 11
pankso@84 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20669 13 WGET_URL="https://downloads.xiph.org/releases/vorbis/$TARBALL"
Hans-G?nter@25401 14
Hans-G?nter@25401 15 DEPENDS="flac libao libcrypto libcurl libogg libvorbis speex"
Hans-G?nter@25401 16 BUILD_DEPENDS="curl-dev flac-dev libao-dev libcrypto-dev libogg-dev
Hans-G?nter@25401 17 libvorbis-dev speex-dev"
Hans-G?nter@25401 18
pascal@19116 19 HOST_ARCH="i486 arm"
pankso@84 20
pascal@24326 21 # What is the latest version available today?
pascal@24072 22 current_version()
pascal@24072 23 {
pascal@24614 24 wget -O - https://ftp.osuosl.org/pub/xiph/releases/vorbis/ 2>/dev/null | \
pascal@24414 25 sed '/vorbis-tools-/!d;/tar/!d;s|.*vorbis-tools-\(.*\).tar.*".*|\1|' | sort -Vr | sed q
pascal@24072 26 }
pascal@24072 27
pascal@24326 28
pankso@84 29 # Rules to configure and make the package.
pankso@84 30 compile_rules()
pankso@84 31 {
Hans-G?nter@25401 32 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@25401 33 make &&
Hans-G?nter@25401 34 make install
pankso@84 35 }
pankso@84 36
pankso@84 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@84 38 genpkg_rules()
pankso@84 39 {
Hans-G?nter@25401 40 cook_copy_folders bin
pankso@84 41 }