wok-6.x annotate libvorbis/receipt @ rev 25476

Up foomatic-db-nonfree (20221012)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 13 16:28:13 2022 +0000 (2022-10-13)
parents 3abeffdae80b
children
rev   line source
pankso@32 1 # SliTaz package receipt.
pankso@32 2
pankso@32 3 PACKAGE="libvorbis"
Hans-G?nter@21333 4 VERSION="1.3.6"
pankso@206 5 CATEGORY="multimedia"
pankso@32 6 SHORT_DESC="Vorbis base library."
pankso@32 7 MAINTAINER="pankso@slitaz.org"
Hans-G?nter@21333 8 LICENSE="BSD"
Hans-G?nter@21333 9 WEB_SITE="https://www.xiph.org/vorbis/"
Hans-G?nter@21333 10
pankso@32 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20669 12 WGET_URL="https://downloads.xiph.org/releases/vorbis/$TARBALL"
pankso@32 13
pascal@14744 14 DEPENDS="libogg"
pascal@14744 15 BUILD_DEPENDS="libogg-dev"
pascal@14744 16
Hans-G?nter@21333 17 HOST_ARCH="i486 arm"
Hans-G?nter@21333 18
pascal@24326 19 # What is the latest version available today?
pascal@24072 20 current_version()
pascal@24072 21 {
pascal@24614 22 wget -O - https://ftp.osuosl.org/pub/xiph/releases/vorbis/ 2>/dev/null | \
pascal@24414 23 sed '/libvorbis-/!d;/zip/d;s|.*libvorbis-||;s|.tar.*||' | sort -Vr | sed q
pascal@24072 24 }
pascal@24072 25
pankso@32 26 # Rules to configure and make the package.
pankso@32 27 compile_rules()
pankso@32 28 {
pankso@16020 29 ./configure \
pankso@16020 30 $CONFIGURE_ARGS &&
Hans-G?nter@21333 31 make -j 1 &&
slaxemulator@12332 32 make DESTDIR=$DESTDIR install
pankso@32 33 }
pankso@32 34
pankso@32 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@32 36 genpkg_rules()
pankso@32 37 {
pankso@32 38 mkdir -p $fs/usr/lib
pankso@4314 39
pankso@32 40 # The libvorbisenc files should go in libvorbis-enc
pascal@14744 41 #cp -a $install/usr/lib/libvorbis.so* $fs/usr/lib
pascal@14744 42 #cp -a $install/usr/lib/libvorbisfile.so* $fs/usr/lib
pankso@4314 43
pascal@14744 44 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@32 45 }