wok view exosip/receipt @ rev 24417

created recipes for perl-cairo-gobject, perl-glib-object-introspection and perl-gtk3
author Hans-G?nter Theisgen
date Fri Feb 11 09:16:47 2022 +0100 (2022-02-11)
parents 44d55cb24c23
children 237fb52f1080
line source
1 # SliTaz package receipt.
3 PACKAGE="exosip"
4 VERSION="5.1.0"
5 CATEGORY="network"
6 SHORT_DESC="extended SIP library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 SOURCE="libexosip2"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://savannah.nongnu.org/projects/exosip/"
12 WGET_URL="http://download.savannah.gnu.org/releases/$PACKAGE/$TARBALL"
13 DEPENDS="osip openssl"
14 BUILD_DEPENDS="osip-dev openssl-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure --prefix=/usr --infodir=/usr/share/info \
27 --mandir=/usr/share/man $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }