wok view opal/receipt @ rev 24780
transmission: autoconf 2.70+ bug workaround
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 20:17:02 2022 +0000 (2022-03-19) |
parents | a78610b2eb47 |
children | 61d8634c86c3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="opal"
4 VERSION="3.6.6"
5 CATEGORY="network"
6 SHORT_DESC="Open Phone Abstraction library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MPL"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.ekiga.org/"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
12 TAGS="telephony"
14 DEPENDS="cyrus-sasl expat jpeg libsdl libogg libtheora libunixODBC \
15 openssl ptlib tiff zlib"
16 BUILD_DEPENDS="ptlib ptlib-dev openssl-dev"
18 current_version()
19 {
20 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
21 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 ./configure --prefix=/usr --bindir=/bin \
29 --libexecdir=/usr/bin --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make $MAKEFLAGS &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/lib $fs/usr
40 rm -f $fs/usr/lib/*.a
41 }