wok-6.x view libogg/receipt @ rev 24614
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 06 21:04:14 2022 +0000 (2022-03-06) |
parents | 3abeffdae80b |
children | 8d9bed32e857 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libogg"
4 VERSION="1.3.4"
5 CATEGORY="multimedia"
6 SHORT_DESC="OGG library from Xiph.org project."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.xiph.org/ogg/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="https://downloads.xiph.org/releases/ogg/$TARBALL"
14 DEPENDS="glibc-base"
16 HOST_ARCH="i486 arm"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://ftp.osuosl.org/pub/xiph/releases/ogg/ 2>/dev/null | \
22 sed '/libogg-/!d;/zip/d;s|.*libogg-||;s|.tar.*||' | sort -Vr | sed q
23 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure $CONFIGURE_ARGS &&
30 make -j1 &&
31 make -j1 DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }