wok view ptlib/receipt @ rev 2979

opal-dev: fix path for libopal_s.a
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 11 02:14:35 2009 +0200 (2009-05-11)
parents 1fdf6903cd89
children 29520d49babe
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 DEPENDS="alsa-lib cyrus-sasl expat libSDL libdv libiconv libraw1394 \
12 libunixODBC openssl"
13 BUILD_DEPENDS="pkg-config bison"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --bindir=/bin \
20 --libexecdir=/usr/bin --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
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 }