wok-6.x annotate exosip/receipt @ rev 25432
motion: adapted configuration parameters to version 4.4.0
author | Hans-G?nter Theisgen |
---|---|
date | Sun Aug 21 17:07:48 2022 +0100 (2022-08-21) |
parents | 237fb52f1080 |
children |
rev | line source |
---|---|
pascal@5762 | 1 # SliTaz package receipt. |
pascal@5762 | 2 |
pascal@5762 | 3 PACKAGE="exosip" |
Hans-G?nter@24530 | 4 VERSION="5.3.0" |
pascal@5762 | 5 CATEGORY="network" |
Hans-G?nter@24530 | 6 SHORT_DESC="Extended SIP library." |
pascal@5762 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
Hans-G?nter@24530 | 9 WEB_SITE="https://savannah.nongnu.org/projects/exosip/" |
Hans-G?nter@24530 | 10 |
pascal@21653 | 11 SOURCE="libexosip2" |
pascal@5762 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@12629 | 13 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL" |
Hans-G?nter@24530 | 14 |
Hans-G?nter@24530 | 15 DEPENDS="openssl osip" |
Hans-G?nter@24530 | 16 BUILD_DEPENDS="openssl-dev osip-dev" |
pascal@5762 | 17 |
pascal@24415 | 18 # What is the latest version available today? |
pascal@24415 | 19 current_version() |
pascal@24415 | 20 { |
pascal@24415 | 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24415 | 22 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24415 | 23 } |
pascal@24415 | 24 |
pascal@5762 | 25 # Rules to configure and make the package. |
pascal@5762 | 26 compile_rules() |
pascal@5762 | 27 { |
Hans-G?nter@24530 | 28 ./configure \ |
Hans-G?nter@24530 | 29 --prefix=/usr \ |
Hans-G?nter@24530 | 30 --infodir=/usr/share/info \ |
Hans-G?nter@24530 | 31 --mandir=/usr/share/man \ |
Hans-G?nter@24530 | 32 $CONFIGURE_ARGS && |
pascal@5762 | 33 make && |
Hans-G?nter@24530 | 34 make install DESTDIR=$DESTDIR |
pascal@5762 | 35 } |
pascal@5762 | 36 |
pascal@5762 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5762 | 38 genpkg_rules() |
pascal@5762 | 39 { |
Hans-G?nter@24530 | 40 cook_copy_folders bin |
Hans-G?nter@24530 | 41 cook_copy_files *.so* |
pascal@5762 | 42 } |
Hans-G?nter@24531 | 43 |