wok-stable annotate ptlib/receipt @ rev 3425

Update deps /libSDL/libsdl/
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jun 13 12:19:10 2009 +0200 (2009-06-13)
parents 29520d49babe
children 4eac0f0fb226
rev   line source
pascal@1419 1 # SliTaz package receipt.
pascal@1419 2
pascal@1419 3 PACKAGE="ptlib"
pankso@3166 4 VERSION="2.6.2"
pascal@1419 5 CATEGORY="network"
pascal@1419 6 SHORT_DESC="Portable Tools Library for unix and windows."
pascal@1419 7 MAINTAINER="pascal.bellard@slitaz.org"
pankso@3166 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@1419 9 WEB_SITE="http://www.ekiga.org/"
pankso@3166 10 WGET_URL="$WEB_SITE/admin/downloads/latest/sources/ekiga_3.2.4/$TARBALL"
pankso@3425 11 DEPENDS="alsa-lib cyrus-sasl expat libsdl libdv libraw1394 \
pascal@2456 12 libunixODBC openssl"
pankso@3425 13 BUILD_DEPENDS="pkg-config bison expat libsdl-dev libdv libdv-dev \
pankso@3166 14 libraw1394 libraw1394-dev openssl-dev"
pascal@1419 15
pascal@1419 16 # Rules to configure and make the package.
pascal@1419 17 compile_rules()
pascal@1419 18 {
pascal@1419 19 cd $src
pascal@1419 20 ./configure --prefix=/usr --bindir=/bin \
pascal@1419 21 --libexecdir=/usr/bin --mandir=/usr/share/man \
pascal@1533 22 $CONFIGURE_ARGS &&
pascal@1533 23 make &&
pascal@1419 24 make DESTDIR=$PWD/_pkg install
pascal@1419 25 }
pascal@1419 26
pascal@1419 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1419 28 genpkg_rules()
pascal@1419 29 {
pascal@1419 30 mkdir -p $fs/usr
pascal@1419 31 cp -a $_pkg/usr/lib $fs/usr
pascal@1419 32 cp -a $_pkg/usr/bin $fs/usr
pascal@1419 33 cp -a $_pkg/usr/share $fs/usr
pascal@1419 34 # Package all ptlib pkgs
pascal@1419 35 for i in $(cd $WOK; ls -d ptlib-*)
pascal@1419 36 do
pascal@1419 37 tazwok genpkg $i
pascal@1419 38 done
pascal@1419 39 }