wok-next view ptlib/receipt @ rev 20949

Fix homepages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Sep 01 16:21:51 2018 +0300 (2018-09-01)
parents d08d2d235af0
children f48456621a9d
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/stable/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="ptlib-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=$DESTDIR 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 }