wok view libogg/receipt @ rev 24844

libunibreak: add current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 25 09:14:23 2022 +0000 (2022-03-25)
parents bc2b9d9bed6f
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libogg"
4 VERSION="1.3.5"
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://ftp.osuosl.org/pub/xiph/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 &&
31 make install DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_files *.so*
38 }