wok-current view ptlib/receipt @ rev 1533
ptlib: update BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 09 18:18:45 2008 +0000 (2008-10-09) |
parents | a6c873b6ecda |
children | d1aba649375c |
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="pkg-config bison"
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 }