wok view osip/receipt @ rev 24356

backintime: modified WGET_URL
author Hans-G?nter Theisgen
date Thu Feb 03 15:43:51 2022 +0100 (2022-02-03)
parents ce9f5bda85ac
children 508bfd297019
line source
1 # SliTaz package receipt.
3 PACKAGE="osip"
4 VERSION="5.1.1"
5 CATEGORY="network"
6 SHORT_DESC="SIP library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL"
9 WEB_SITE="https://www.gnu.org/software/osip/"
11 SOURCE="libosip2"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/*} 2>/dev/null | \
19 sed "/latest/d;/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }