wok annotate speex/receipt @ rev 24678

updated irssi (1.2.2 -> 1.2.3)
author Hans-G?nter Theisgen
date Sat Mar 12 09:24:40 2022 +0100 (2022-03-12)
parents 16f593bc1840
children 8ba543afd58c
rev   line source
pascal@1179 1 # SliTaz package receipt.
pascal@1179 2
pascal@1179 3 PACKAGE="speex"
Hans-G?nter@21946 4 VERSION="1.2.0"
pascal@1179 5 CATEGORY="multimedia"
Hans-G?nter@21946 6 SHORT_DESC="Low bandwidth voice codec."
pascal@1179 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15593 8 LICENSE="BSD"
Hans-G?nter@21946 9 WEB_SITE="https://www.speex.org/"
Hans-G?nter@21946 10
pascal@1179 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20670 12 WGET_URL="https://ftp.osuosl.org/pub/xiph/releases/$PACKAGE/$TARBALL"
Hans-G?nter@21946 13
pascal@20670 14 OBSOLATED_BY="opus"
pankso@10366 15 DEPENDS="libogg"
pankso@10366 16 BUILD_DEPENDS="libogg-dev"
pankso@10366 17
Hans-G?nter@21946 18 HOST_ARCH="i486 arm"
Hans-G?nter@21946 19
pascal@24072 20 current_version()
pascal@24072 21 {
pascal@24072 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24072 23 sed "/beta/d;/rc[0-9]/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24072 24 }
pascal@24072 25
pascal@1179 26 # Rules to configure and make the package.
pascal@1179 27 compile_rules()
pascal@1179 28 {
pankso@10366 29 ./configure $CONFIGURE_ARGS &&
Hans-G?nter@21946 30 make &&
Hans-G?nter@21946 31 make install
pascal@1179 32 }
pascal@1179 33
pascal@1179 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1179 35 genpkg_rules()
pascal@1179 36 {
pascal@1179 37 mkdir -p $fs/usr/lib
Hans-G?nter@21946 38
Hans-G?nter@21946 39 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21946 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@1179 41 }