wok-6.x view libogg/receipt @ rev 24493
updated dokuwiki (20180422b -> 20200729)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 19 11:02:17 2022 +0100 (2022-02-19) |
parents | 095836df71b7 |
children | bc2b9d9bed6f |
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 - ftp://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 }