wok-6.x view ptlib/receipt @ rev 5403

linux: clean stuff
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 02 19:32:20 2010 +0200 (2010-05-02)
parents 29520d49babe
children 4eac0f0fb226
line source
1 # SliTaz package receipt.
3 PACKAGE="ptlib"
4 VERSION="2.6.2"
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="$WEB_SITE/admin/downloads/latest/sources/ekiga_3.2.4/$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 }