wok-next view ptlib/receipt @ rev 21726

updated firefox-official (77.0 -> 81.0)
author Hans-G?nter Theisgen
date Sun Sep 27 14:34:31 2020 +0100 (2020-09-27)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="ptlib"
4 VERSION="2.10.11"
5 CATEGORY="network"
6 SHORT_DESC="Portable Tools Library for UNIX and Windows"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MPL"
9 WEB_SITE="https://www.ekiga.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/ptlib.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="flex openssl-dev cyrus-sasl-dev zlib-dev alsa-lib-dev expat-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 sed -i "s/sbin\.Right(1) == '\\\\0')/strlen(sbin\.Right(1)) == 0)/" \
20 src/ptclib/podbc.cxx
21 sed -i '/\/ioctl.h/a#include <sys/uio.h>' src/ptlib/unix/channel.cxx
23 ./configure \
24 --disable-odbc \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$install install || return 1
29 chmod 755 $install/usr/lib/libpt.so.$VERSION
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 ptlib)
35 copy @std
36 DEPENDS="alsa-lib expat libsasl openssl"
37 ;;
38 *-dev)
39 copy @dev
40 ;;
41 esac
42 }