wok annotate ortp/receipt @ rev 24920

updated mp (5.2.10 -> 5.58)
author Hans-G?nter Theisgen
date Sun Apr 10 07:48:27 2022 +0100 (2022-04-10)
parents 76b72f1ad63c
children 2155b2665e26
rev   line source
pascal@13743 1 # SliTaz package receipt.
pascal@13743 2
pascal@13743 3 PACKAGE="ortp"
pascal@13743 4 VERSION="0.20.0"
pascal@13743 5 CATEGORY="network"
pascal@13743 6 SHORT_DESC="Library implementing the Real-time Transport Protocol (RFC3550)."
pascal@13743 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14996 8 LICENSE="LGPL2.1"
pascal@13743 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@13743 10 WEB_SITE="http://freecode.com/projects/ortp"
pascal@13743 11 WGET_URL="http://download-mirror.savannah.gnu.org/releases/linphone/$PACKAGE/sources/$TARBALL"
pascal@13743 12
pascal@24415 13 # What is the latest version available today?
pascal@24415 14 current_version()
pascal@24415 15 {
pascal@24415 16 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24415 17 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 18 }
pascal@24415 19
pascal@13743 20 # Rules to configure and make the package.
pascal@13743 21 compile_rules()
pascal@13743 22 {
pascal@13743 23 cd $src
pascal@13743 24 ./configure --prefix=/usr \
pascal@13743 25 $CONFIGURE_ARGS &&
pascal@13743 26 make &&
pascal@13743 27 make DESTDIR=$DESTDIR install
pascal@13743 28 }
pascal@13743 29
pascal@13743 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13743 31 genpkg_rules()
pascal@13743 32 {
pascal@13743 33 mkdir -p $fs/usr/lib
pascal@13743 34 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@13743 35 }