wok-current view libvorbis/receipt @ rev 24384
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 06 16:04:43 2022 +0000 (2022-02-06) |
parents | 5d79829fa876 |
children | 3abeffdae80b |
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 - https://www.xiph.org/downloads/ 2>/dev/null | \
23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | 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 }