wok-6.x annotate osip/receipt @ rev 24953
updated nagvis and nagvis-doc (1.9.18 -> 1.9.31)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 23 15:05:31 2022 +0100 (2022-04-23) |
parents | 71360a13cd94 |
children |
rev | line source |
---|---|
pascal@5761 | 1 # SliTaz package receipt. |
pascal@5761 | 2 |
pascal@5761 | 3 PACKAGE="osip" |
Hans-G?nter@24531 | 4 VERSION="5.3.0" |
pascal@5761 | 5 CATEGORY="network" |
pascal@5761 | 6 SHORT_DESC="SIP library." |
pascal@5761 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15022 | 8 LICENSE="LGPL" |
Hans-G?nter@21646 | 9 WEB_SITE="https://www.gnu.org/software/osip/" |
Hans-G?nter@21646 | 10 |
pascal@5761 | 11 SOURCE="libosip2" |
pascal@5761 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@5761 | 13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pascal@5761 | 14 |
pascal@24336 | 15 # What is the latest version available today? |
pascal@24336 | 16 current_version() |
pascal@24336 | 17 { |
pascal@24336 | 18 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24336 | 19 sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24336 | 20 } |
pascal@24336 | 21 |
pascal@5761 | 22 # Rules to configure and make the package. |
pascal@5761 | 23 compile_rules() |
pascal@5761 | 24 { |
Hans-G?nter@21646 | 25 ./configure \ |
Hans-G?nter@21646 | 26 --prefix=/usr \ |
Hans-G?nter@21646 | 27 --infodir=/usr/share/info \ |
Hans-G?nter@21646 | 28 --mandir=/usr/share/man \ |
Hans-G?nter@21646 | 29 $CONFIGURE_ARGS && |
pascal@5761 | 30 make && |
Hans-G?nter@24531 | 31 make install DESTDIR=$DESTDIR |
pascal@5761 | 32 } |
pascal@5761 | 33 |
pascal@5761 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5761 | 35 genpkg_rules() |
pascal@5761 | 36 { |
Hans-G?nter@24531 | 37 cook_copy_files *.so* |
pascal@5761 | 38 } |