wok-current annotate ekiga/receipt @ rev 4264
ekiga: fix build with gcc-4.x
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 25 16:29:34 2009 +0200 (2009-09-25) |
parents | e8024c01fc47 |
children | 31c985a0bd3d |
rev | line source |
---|---|
pascal@1555 | 1 # SliTaz package receipt. |
pascal@1555 | 2 |
pascal@1555 | 3 PACKAGE="ekiga" |
pankso@3168 | 4 VERSION="3.2.4" |
pascal@1555 | 5 CATEGORY="network" |
pascal@1555 | 6 SHORT_DESC="SIP and H.323 compatible VoIP telephony and video conferencing." |
pascal@1555 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1555 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1555 | 9 WEB_SITE="http://www.ekiga.org/" |
pankso@3168 | 10 WGET_URL="$WEB_SITE/admin/downloads/latest/sources/${PACKAGE}_${VERSION}/$TARBALL" |
pankso@3168 | 11 BUILD_DEPENDS="opal-dev opal ptlib-dev ptlib gtk+-dev intltool libsigc++ \ |
pankso@3425 | 12 libsigc++-dev openssl-dev libsdl-dev libunixODBC" |
pankso@3425 | 13 DEPENDS="opal ptlib cyrus-sasl openssl libsdl libunixODBC dbus \ |
pascal@2514 | 14 dbus-glib expat gtk+ libsigc++ libxml2 xorg-libXdamage" |
pascal@1555 | 15 |
pascal@1555 | 16 # Rules to configure and make the package. |
pascal@1555 | 17 compile_rules() |
pascal@1555 | 18 { |
pascal@1555 | 19 cd $src |
pascal@4264 | 20 sed -i 's/CXXFLAGS="-g -O2"/CXXFLAGS="-g -fexceptions -O2"/' configure |
pascal@1555 | 21 ./configure --prefix=/usr --sysconfdir=/etc \ |
pascal@1555 | 22 --libexecdir=/usr/bin --mandir=/usr/share/man \ |
pascal@1555 | 23 --disable-gnome --disable-gconf --disable-eds --disable-notify \ |
pascal@1555 | 24 --disable-xv --disable-avahi --disable-scrollkeeper --disable-gdu \ |
pankso@3168 | 25 --disable-ldap \ |
pascal@1555 | 26 $CONFIGURE_ARGS && |
pascal@1555 | 27 make && |
pascal@1555 | 28 make DESTDIR=$PWD/_pkg install |
pascal@1555 | 29 } |
pascal@1555 | 30 |
pascal@1555 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1555 | 32 genpkg_rules() |
pascal@1555 | 33 { |
pascal@1555 | 34 mkdir -p $fs/usr/share |
pascal@1555 | 35 cp -a $_pkg/etc $fs |
pascal@1555 | 36 cp -a $_pkg/usr/bin $fs/usr |
pascal@1555 | 37 cp -a $_pkg/usr/share/sounds $fs/usr/share |
pascal@1555 | 38 cp -a $_pkg/usr/share/icons $fs/usr/share |
pascal@1555 | 39 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pascal@1555 | 40 cp -a $_pkg/usr/share/dbus-1 $fs/usr/share |
pascal@1555 | 41 cp -a $_pkg/usr/share/applications $fs/usr/share |
pascal@1555 | 42 } |