wok annotate ekiga/receipt @ rev 24211

created recipe for perl-file-rsync
author Hans-G?nter Theisgen
date Fri Dec 31 16:00:22 2021 +0100 (2021-12-31)
parents a78610b2eb47
children
rev   line source
pascal@1555 1 # SliTaz package receipt.
pascal@1555 2
pascal@1555 3 PACKAGE="ekiga"
pascal@5462 4 VERSION="3.2.6"
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@15000 8 LICENSE="GPL2"
pascal@5465 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20669 10 WEB_SITE="https://www.ekiga.org/"
pascal@5465 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@14240 12
pankso@3168 13 BUILD_DEPENDS="opal-dev opal ptlib-dev ptlib gtk+-dev intltool libsigc++ \
pascal@12431 14 libsigc++-dev openssl-dev libsdl-dev libunixODBC dbus-dev dbus-glib-dev \
pascal@14240 15 libxml2-dev file"
pankso@3425 16 DEPENDS="opal ptlib cyrus-sasl openssl libsdl libunixODBC dbus \
pascal@2514 17 dbus-glib expat gtk+ libsigc++ libxml2 xorg-libXdamage"
jozee@4935 18 TAGS="telephony"
pascal@1555 19
pascal@24111 20 current_version()
pascal@24111 21 {
pascal@24111 22 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
pascal@24111 23 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24111 24 }
pascal@24111 25
pascal@1555 26 # Rules to configure and make the package.
pascal@1555 27 compile_rules()
pascal@1555 28 {
pascal@1555 29 cd $src
pascal@17670 30 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11 -lXext -lpt"
pascal@4264 31 sed -i 's/CXXFLAGS="-g -O2"/CXXFLAGS="-g -fexceptions -O2"/' configure
pascal@1555 32 ./configure --prefix=/usr --sysconfdir=/etc \
pascal@1555 33 --libexecdir=/usr/bin --mandir=/usr/share/man \
pascal@1555 34 --disable-gnome --disable-gconf --disable-eds --disable-notify \
pascal@1555 35 --disable-xv --disable-avahi --disable-scrollkeeper --disable-gdu \
pankso@3168 36 --disable-ldap \
pascal@1555 37 $CONFIGURE_ARGS &&
gokhlayeh@11574 38 make $MAKEFLAGS &&
pascal@15000 39 make DESTDIR=$DESTDIR install
pascal@1555 40 }
pascal@1555 41
pascal@1555 42 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1555 43 genpkg_rules()
pascal@1555 44 {
pascal@1555 45 mkdir -p $fs/usr/share
pascal@15000 46 cp -a $install/etc $fs
pascal@15000 47 cp -a $install/usr/bin $fs/usr
pascal@15000 48 cp -a $install/usr/share/sounds $fs/usr/share
pascal@15000 49 cp -a $install/usr/share/icons $fs/usr/share
pascal@15000 50 cp -a $install/usr/share/pixmaps $fs/usr/share
pascal@15000 51 cp -a $install/usr/share/dbus-1 $fs/usr/share
pascal@15000 52 cp -a $install/usr/share/applications $fs/usr/share
pascal@1555 53 }