wok view ptlib/receipt @ rev 12536

rage: need auto tools
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 26 02:16:57 2012 +0200 (2012-04-26)
parents 071c9a026a01
children bf4a09ef1d2e
line source
1 # SliTaz package receipt.
3 PACKAGE="ptlib"
4 VERSION="2.6.5"
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="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
11 DEPENDS="alsa-lib cyrus-sasl expat libsdl libdv libraw1394 \
12 libunixODBC openssl"
13 BUILD_DEPENDS="pkg-config flex openssl-dev cyrus-sasl-dev zlib-dev alsa-lib-dev"
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 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/lib $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share $fs/usr
33 }