wok-current view ekiga/receipt @ rev 24111
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 28 17:26:43 2021 +0000 (2021-09-28) |
parents | a78610b2eb47 |
children |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.ekiga.org/"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 BUILD_DEPENDS="opal-dev opal ptlib-dev ptlib gtk+-dev intltool libsigc++ \
14 libsigc++-dev openssl-dev libsdl-dev libunixODBC dbus-dev dbus-glib-dev \
15 libxml2-dev file"
16 DEPENDS="opal ptlib cyrus-sasl openssl libsdl libunixODBC dbus \
17 dbus-glib expat gtk+ libsigc++ libxml2 xorg-libXdamage"
18 TAGS="telephony"
20 current_version()
21 {
22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
23 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src
30 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11 -lXext -lpt"
31 sed -i 's/CXXFLAGS="-g -O2"/CXXFLAGS="-g -fexceptions -O2"/' configure
32 ./configure --prefix=/usr --sysconfdir=/etc \
33 --libexecdir=/usr/bin --mandir=/usr/share/man \
34 --disable-gnome --disable-gconf --disable-eds --disable-notify \
35 --disable-xv --disable-avahi --disable-scrollkeeper --disable-gdu \
36 --disable-ldap \
37 $CONFIGURE_ARGS &&
38 make $MAKEFLAGS &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/share
46 cp -a $install/etc $fs
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/share/sounds $fs/usr/share
49 cp -a $install/usr/share/icons $fs/usr/share
50 cp -a $install/usr/share/pixmaps $fs/usr/share
51 cp -a $install/usr/share/dbus-1 $fs/usr/share
52 cp -a $install/usr/share/applications $fs/usr/share
53 }