wok-6.x view libvorbis/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="libvorbis"
4 VERSION="1.3.6"
5 CATEGORY="multimedia"
6 SHORT_DESC="Vorbis base library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.xiph.org/vorbis/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://downloads.xiph.org/releases/vorbis/$TARBALL"
14 DEPENDS="libogg"
15 BUILD_DEPENDS="libogg-dev"
17 HOST_ARCH="i486 arm"
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 '/libvorbis-/!d;/zip/d;s|.*libvorbis-||;s|.tar.*||' | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
40 # The libvorbisenc files should go in libvorbis-enc
41 #cp -a $install/usr/lib/libvorbis.so* $fs/usr/lib
42 #cp -a $install/usr/lib/libvorbisfile.so* $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }