wok-next diff etherape/receipt @ rev 20936
Update cmake
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Aug 24 15:44:57 2018 +0300 (2018-08-24) |
parents | e6615350078d |
children | f48456621a9d |
line diff
1.1 --- a/etherape/receipt Wed Feb 28 16:28:07 2018 +0200 1.2 +++ b/etherape/receipt Fri Aug 24 15:44:57 2018 +0300 1.3 @@ -1,51 +1,39 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="etherape" 1.8 VERSION="0.9.14" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="A graphical network monitor and visualization tool." 1.11 +SHORT_DESC="A graphical network monitor and visualization tool" 1.12 MAINTAINER="hackdorte@sapo.pt" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://etherape.sourceforge.net" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://etherape.sourceforge.net" 1.18 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.19 -TAGS="ip monitoring network tcp vlan wlan" 1.20 - 1.21 -DEPENDS="gtk+ libglade libgnome libpcap libgnomeui libltdl \ 1.22 -openssl libxslt libgnome-keyring util-linux-uuid" 1.23 1.24 BUILD_DEPENDS="gcc glib-dev glibc-dev libglade-dev libgnome-dev gtk+-dev \ 1.25 -libgnomeui-dev libpcap-dev gnome-doc-utils-dev openssl-dev libxslt-dev \ 1.26 +libgnomeui-dev libpcap-dev gnome-doc-utils openssl-dev libxslt-dev \ 1.27 ossp-uuid-dev" 1.28 1.29 -# Rules to configure and make the package. 1.30 -compile_rules() 1.31 -{ 1.32 -./configure \ 1.33 - --prefix=/usr \ 1.34 - --libdir=/usr/lib \ 1.35 - --sysconfdir=/etc \ 1.36 - --localstatedir=/var/state/$PACKAGE-$VERSION \ 1.37 - --mandir=/usr/share/man \ 1.38 - --docdir=/usr/share/doc/$PACKAGE-$VERSION \ 1.39 - --build=$ARCH-slitaz-linux \ 1.40 - --disable-scrollkeeper 1.41 - make && make DESTDIR=$DESTDIR install 1.42 +compile_rules() { 1.43 + ./configure \ 1.44 + --libdir=/usr/lib \ 1.45 + --localstatedir=/var/state/$PACKAGE-$VERSION \ 1.46 + --disable-scrollkeeper \ 1.47 + $CONFIGURE_ARGS && 1.48 + make && 1.49 + make DESTDIR=$DESTDIR install || return 1 1.50 + 1.51 + # The SliTaz use Tazbox. 1.52 + sed -i 's/^Exec=.*/Exec=tazbox su dbus-launch etherape/' \ 1.53 + $install/usr/share/applications/etherape.desktop 1.54 + 1.55 + # TODO: check, looks like ${localstatedir} is a bit weird 1.56 } 1.57 1.58 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.59 -genpkg_rules() 1.60 -{ 1.61 - mkdir -p $fs/usr/bin 1.62 - cp -a $install/usr/bin/* $fs/usr/bin 1.63 - 1.64 - mkdir -p $fs/usr/share 1.65 - cp -a $install/usr/share/* $fs/usr/share 1.66 +genpkg_rules() { 1.67 + copy @std 1.68 + DEPENDS="gtk+ libglade libgnome libpcap libgnomeui libltdl \ 1.69 + openssl libxslt libgnome-keyring util-linux-uuid" 1.70 + TAGS="ip monitoring network tcp vlan wlan" 1.71 } 1.72 - 1.73 -post_install() 1.74 -{ 1.75 - # The SliTaz use Tazbox. 1.76 - sed -i 's/^Exec=.*/Exec=tazbox su dbus-launch etherape/' \ 1.77 - $1/usr/share/applications/etherape.desktop 1.78 -}