wok-4.x view ptlib/receipt @ rev 1517
mhwaveedit: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 08 10:42:32 2008 +0000 (2008-10-08) |
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 }