wok annotate libogg/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | bc2b9d9bed6f |
children |
rev | line source |
---|---|
pankso@32 | 1 # SliTaz package receipt. |
pankso@32 | 2 |
pankso@32 | 3 PACKAGE="libogg" |
Hans-G?nter@24818 | 4 VERSION="1.3.5" |
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" |
Hans-G?nter@24818 | 12 WGET_URL="https://ftp.osuosl.org/pub/xiph/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@24614 | 21 wget -O - https://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@24818 | 30 make && |
Hans-G?nter@24818 | 31 make install DESTDIR=$DESTDIR |
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 { |
Hans-G?nter@24818 | 37 cook_copy_files *.so* |
pankso@32 | 38 } |