wok-6.x annotate 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
rev   line source
pankso@32 1 # SliTaz package receipt.
pankso@32 2
pankso@32 3 PACKAGE="libogg"
Hans-G?nter@23091 4 VERSION="1.3.4"
pankso@206 5 CATEGORY="multimedia"
pankso@32 6 SHORT_DESC="OGG library from Xiph.org project."
pankso@32 7 MAINTAINER="pankso@slitaz.org"
pascal@15482 8 LICENSE="BSD"
Hans-G?nter@21267 9 WEB_SITE="https://www.xiph.org/ogg/"
Hans-G?nter@21267 10
slaxemulator@7695 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
pascal@20669 12 WGET_URL="https://downloads.xiph.org/releases/ogg/$TARBALL"
pankso@32 13
pascal@15482 14 DEPENDS="glibc-base"
pascal@15482 15
Hans-G?nter@21267 16 HOST_ARCH="i486 arm"
Hans-G?nter@21267 17
pascal@24326 18 # What is the latest version available today?
pascal@24072 19 current_version()
pascal@24072 20 {
pascal@24414 21 wget -O - ftp://ftp.osuosl.org/pub/xiph/releases/ogg/ 2>/dev/null | \
pascal@24414 22 sed '/libogg-/!d;/zip/d;s|.*libogg-||;s|.tar.*||' | sort -Vr | sed q
pascal@24072 23 }
pascal@24072 24
pascal@24414 25
pankso@32 26 # Rules to configure and make the package.
pankso@32 27 compile_rules()
pankso@32 28 {
pankso@15946 29 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21267 30 make -j1 &&
pascal@15482 31 make -j1 DESTDIR=$DESTDIR install
pankso@32 32 }
pankso@32 33
pankso@32 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@32 35 genpkg_rules()
pankso@32 36 {
pankso@32 37 mkdir -p $fs/usr/lib
Hans-G?nter@23091 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@32 39 }