wok-next view ptlib/receipt @ rev 21383
updated nbd again (3.3 -> 3.20)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 17:34:38 2020 +0100 (2020-04-16) |
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 }