wok-current view ptlib/receipt @ rev 5585

Up:libxcb
author Rohit Joshi <jozee@slitaz.org>
date Mon May 17 07:31:27 2010 -0400 (2010-05-17)
parents 4eac0f0fb226
children 53e1828da719
line source
1 # SliTaz package receipt.
3 PACKAGE="ptlib"
4 VERSION="2.6.5"
5 CATEGORY="network"
6 SHORT_DESC="Portable Tools Library for unix and windows."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.ekiga.org/"
10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
11 DEPENDS="alsa-lib cyrus-sasl expat libsdl libdv libraw1394 \
12 libunixODBC openssl"
13 BUILD_DEPENDS="pkg-config bison expat libsdl-dev libdv libdv-dev \
14 libraw1394 libraw1394-dev openssl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --bindir=/bin \
21 --libexecdir=/usr/bin --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/share $fs/usr
34 # Package all ptlib pkgs
35 for i in $(cd $WOK; ls -d ptlib-*)
36 do
37 tazwok genpkg $i
38 done
39 }