wok-6.x annotate sipsak/receipt @ rev 25375
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 30 08:30:06 2022 +0000 (2022-07-30) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@1617 | 1 # SliTaz package receipt. |
pascal@1617 | 2 |
pascal@1617 | 3 PACKAGE="sipsak" |
Hans-G?nter@25308 | 4 VERSION="0.9.8.1" |
pascal@1617 | 5 CATEGORY="network" |
pascal@1617 | 6 SHORT_DESC="SIP swiss army knife." |
pascal@1617 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
Hans-G?nter@21912 | 9 WEB_SITE="https://github.com/nils-ohlmeier/sipsak/" |
Hans-G?nter@21912 | 10 |
pascal@1617 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21912 | 12 WGET_URL="${WEB_SITE}archive/$VERSION.tar.gz" |
pascal@15000 | 13 |
Hans-G?nter@21912 | 14 DEPENDS="gnutls libcrypto zlib" |
Hans-G?nter@25308 | 15 BUILD_DEPENDS="autoconf libcrypto libcrypto-dev libtool" |
pascal@1617 | 16 |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@1617 | 23 # Rules to configure and make the package. |
pascal@1617 | 24 compile_rules() |
pascal@1617 | 25 { |
Hans-G?nter@21912 | 26 autoreconf --install && |
Hans-G?nter@21912 | 27 ./configure \ |
Hans-G?nter@21912 | 28 --prefix=/usr \ |
Hans-G?nter@21912 | 29 --infodir=/usr/share/info \ |
Hans-G?nter@21912 | 30 --mandir=/usr/share/man \ |
Hans-G?nter@21912 | 31 $CONFIGURE_ARGS && |
pascal@1617 | 32 make && |
Hans-G?nter@25308 | 33 make install DESTDIR=$DESTDIR |
pascal@1617 | 34 } |
pascal@1617 | 35 |
pascal@1617 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1617 | 37 genpkg_rules() |
pascal@1617 | 38 { |
Hans-G?nter@25308 | 39 cook_copy_folders bin |
pascal@1617 | 40 } |