wok-6.x view opal/receipt @ rev 25219
updated python-pip (20.0.2 -> 20.3.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 15:45:09 2022 +0100 (2022-07-13) |
parents | 6831608a1b2a |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="opal"
4 VERSION="3.10.10"
5 CATEGORY="network"
6 TAGS="telephony"
7 SHORT_DESC="Open Phone Abstraction library."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="MPL"
10 WEB_SITE="http://www.opalvoip.org/"
11 REPOLOGY="opal-voip"
13 TARBALL="$PACKAGE-$VERSION.tar.xz"
14 WGET_URL="https://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
16 DEPENDS="cyrus-sasl expat jpeg libogg libsdl libtheora libunixODBC
17 openssl ptlib tiff zlib"
18 BUILD_DEPENDS="bash openssl-dev ptlib ptlib-dev"
20 current_version()
21 {
22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
23 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 export SHELL=/bin/bash
30 export CONFIG_SHELL=/bin/bash
32 ./configure \
33 --prefix=/usr \
34 --bindir=/bin \
35 --libexecdir=/usr/bin \
36 --mandir=/usr/share/man \
37 --enable-video \
38 $CONFIGURE_ARGS &&
39 make $MAKEFLAGS &&
40 make install DESTDIR=$DESTDIR
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr
47 cp -a $install/usr/lib $fs/usr
48 rm -f $fs/usr/lib/*.a
49 }