wok view ekiga/receipt @ rev 9737

slim: fix DESTDIR is needed and build deps
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 10 00:34:33 2011 +0200 (2011-05-10)
parents a6b5201ba3af
children df7f691b6145
line source
1 # SliTaz package receipt.
3 PACKAGE="ekiga"
4 VERSION="3.2.6"
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.bz2"
9 WEB_SITE="http://www.ekiga.org/"
10 WGET_URL="http://ftp.gnome.org/pub/gnome/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 -j 4 &&
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 }