wok view ekiga/receipt @ rev 5012

rm rpm in for loop to save RAM (thanks Eric)
author Rohit Joshi <jozee@slitaz.org>
date Sun Feb 28 19:50:05 2010 +0000 (2010-02-28)
parents 958776efba81
children c78bb5ebad1c
line source
1 # SliTaz package receipt.
3 PACKAGE="ekiga"
4 VERSION="3.2.4"
5 CATEGORY="network"
6 SHORT_DESC="SIP and H.323 compatible VoIP telephony and video conferencing."
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/${PACKAGE}_${VERSION}/$TARBALL"
11 BUILD_DEPENDS="opal-dev opal ptlib-dev ptlib gtk+-dev intltool libsigc++ \
12 libsigc++-dev openssl-dev libsdl-dev libunixODBC"
13 DEPENDS="opal ptlib cyrus-sasl openssl libsdl libunixODBC dbus \
14 dbus-glib expat gtk+ libsigc++ libxml2 xorg-libXdamage"
15 TAGS="telephony"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's/CXXFLAGS="-g -O2"/CXXFLAGS="-g -fexceptions -O2"/' configure
22 ./configure --prefix=/usr --sysconfdir=/etc \
23 --libexecdir=/usr/bin --mandir=/usr/share/man \
24 --disable-gnome --disable-gconf --disable-eds --disable-notify \
25 --disable-xv --disable-avahi --disable-scrollkeeper --disable-gdu \
26 --disable-ldap \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share
36 cp -a $_pkg/etc $fs
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/share/sounds $fs/usr/share
39 cp -a $_pkg/usr/share/icons $fs/usr/share
40 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
41 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share
42 cp -a $_pkg/usr/share/applications $fs/usr/share
43 }