wok-next view ptlib/receipt @ rev 20113
Add some bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 30 09:29:31 2017 +0100 (2017-10-30) |
parents | bf4a09ef1d2e |
children | 867395afbd02 |
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 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.ekiga.org/"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 BUILD_DEPENDS="pkg-config flex openssl-dev cyrus-sasl-dev zlib-dev alsa-lib-dev"
14 SPLIT="ptlib ptlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure --prefix=/usr --bindir=/bin \
20 --libexecdir=/usr/bin --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 case $PACKAGE in
30 ptlib)
31 DEPENDS="alsa-lib cyrus-sasl expat libsdl libdv libraw1394 \
32 libunixODBC openssl"
33 mkdir -p $fs/usr
34 cp -a $install/usr/lib $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/share $fs/usr
37 ;;
38 ptlib-dev)
39 CAT="network|Portable Tools Library for unix and windows, development files."
40 mkdir -p $fs/usr
41 cp -a $install/usr/include $fs/usr
42 ;;
43 esac
44 }