wok-next annotate ptlib/receipt @ rev 20091
Up ptlib (2.10.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 28 12:28:24 2017 +0200 (2017-10-28) |
parents | bf4a09ef1d2e |
children | 867395afbd02 |
rev | line source |
---|---|
pascal@20091 | 1 # SliTaz package receipt v2. |
pascal@1419 | 2 |
pascal@1419 | 3 PACKAGE="ptlib" |
pascal@20091 | 4 VERSION="2.10.11" |
pascal@1419 | 5 CATEGORY="network" |
pascal@1419 | 6 SHORT_DESC="Portable Tools Library for unix and windows." |
pascal@1419 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15376 | 8 LICENSE="MPL" |
pascal@20091 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@1419 | 10 WEB_SITE="http://www.ekiga.org/" |
pascal@5465 | 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@15376 | 12 |
pascal@11151 | 13 BUILD_DEPENDS="pkg-config flex openssl-dev cyrus-sasl-dev zlib-dev alsa-lib-dev" |
pascal@20091 | 14 SPLIT="ptlib ptlib-dev" |
pascal@1419 | 15 |
pascal@1419 | 16 # Rules to configure and make the package. |
pascal@1419 | 17 compile_rules() |
pascal@1419 | 18 { |
pascal@1419 | 19 ./configure --prefix=/usr --bindir=/bin \ |
pascal@1419 | 20 --libexecdir=/usr/bin --mandir=/usr/share/man \ |
pascal@1533 | 21 $CONFIGURE_ARGS && |
pascal@1533 | 22 make && |
pascal@15376 | 23 make DESTDIR=$DESTDIR install |
pascal@1419 | 24 } |
pascal@1419 | 25 |
pascal@1419 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1419 | 27 genpkg_rules() |
pascal@1419 | 28 { |
pascal@20091 | 29 case $PACKAGE in |
pascal@20091 | 30 ptlib) |
pascal@20091 | 31 DEPENDS="alsa-lib cyrus-sasl expat libsdl libdv libraw1394 \ |
pascal@20091 | 32 libunixODBC openssl" |
pascal@20091 | 33 mkdir -p $fs/usr |
pascal@20091 | 34 cp -a $install/usr/lib $fs/usr |
pascal@20091 | 35 cp -a $install/usr/bin $fs/usr |
pascal@20091 | 36 cp -a $install/usr/share $fs/usr |
pascal@20091 | 37 ;; |
pascal@20091 | 38 ptlib-dev) |
pascal@20091 | 39 CAT="network|Portable Tools Library for unix and windows, development files." |
pascal@20091 | 40 mkdir -p $fs/usr |
pascal@20091 | 41 cp -a $install/usr/include $fs/usr |
pascal@20091 | 42 ;; |
pascal@20091 | 43 esac |
pascal@1419 | 44 } |