wok view osip/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
parents d79ed38ace18
children
line source
1 # SliTaz package receipt.
3 PACKAGE="osip"
4 VERSION="5.3.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 - https://ftp.gnu.org/gnu/$PACKAGE/ 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 install DESTDIR=$DESTDIR
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 cook_copy_files *.so*
38 }