wok view ptlib/receipt @ rev 1431

Up firefox (3.0.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 29 18:28:42 2008 +0200 (2008-09-29)
parents
children 1fdf6903cd89
line source
1 # SliTaz package receipt.
3 PACKAGE="ptlib"
4 VERSION="2.4.1"
5 CATEGORY="network"
6 SHORT_DESC="Portable Tools Library for unix and windows."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.ekiga.org/"
10 WGET_URL="$WEB_SITE/admin/downloads/latest/sources/sources/$TARBALL"
11 BUILD_DEPENDS="pwlib pwlib-dev"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --bindir=/bin \
18 --libexecdir=/usr/bin --mandir=/usr/share/man \
19 $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/share $fs/usr
32 # Package all ptlib pkgs
33 for i in $(cd $WOK; ls -d ptlib-*)
34 do
35 tazwok genpkg $i
36 done
37 }