wok annotate ptlib/receipt @ rev 1698

Fix: get-OpenOffice4 typo again!
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Nov 12 00:50:32 2008 +0100 (2008-11-12)
parents a6c873b6ecda
children d1aba649375c
rev   line source
pascal@1419 1 # SliTaz package receipt.
pascal@1419 2
pascal@1419 3 PACKAGE="ptlib"
pascal@1419 4 VERSION="2.4.1"
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"
pascal@1419 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1419 9 WEB_SITE="http://www.ekiga.org/"
pascal@1419 10 WGET_URL="$WEB_SITE/admin/downloads/latest/sources/sources/$TARBALL"
pascal@1533 11 BUILD_DEPENDS="pkg-config bison"
pascal@1419 12
pascal@1419 13 # Rules to configure and make the package.
pascal@1419 14 compile_rules()
pascal@1419 15 {
pascal@1419 16 cd $src
pascal@1419 17 ./configure --prefix=/usr --bindir=/bin \
pascal@1419 18 --libexecdir=/usr/bin --mandir=/usr/share/man \
pascal@1533 19 $CONFIGURE_ARGS &&
pascal@1533 20 make &&
pascal@1419 21 make DESTDIR=$PWD/_pkg install
pascal@1419 22 }
pascal@1419 23
pascal@1419 24
pascal@1419 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1419 26 genpkg_rules()
pascal@1419 27 {
pascal@1419 28 mkdir -p $fs/usr
pascal@1419 29 cp -a $_pkg/usr/lib $fs/usr
pascal@1419 30 cp -a $_pkg/usr/bin $fs/usr
pascal@1419 31 cp -a $_pkg/usr/share $fs/usr
pascal@1419 32 # Package all ptlib pkgs
pascal@1419 33 for i in $(cd $WOK; ls -d ptlib-*)
pascal@1419 34 do
pascal@1419 35 tazwok genpkg $i
pascal@1419 36 done
pascal@1419 37 }
pascal@1419 38