wok-current view ptlib/receipt @ rev 3315

transmission: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 08 00:03:03 2009 +0200 (2009-06-08)
parents d1aba649375c
children e8024c01fc47
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 }