wok-current annotate waterline-plugin-multiload/receipt @ rev 19603

Up kmod (23)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 03 14:47:54 2017 +0100 (2017-01-03)
parents cd4372e408f3
children 6135577f4d08
rev   line source
psychomaniak@19052 1 # SliTaz package receipt.
psychomaniak@19052 2
psychomaniak@19052 3 PACKAGE="waterline-plugin-multiload"
psychomaniak@19052 4 VERSION="f8b592a"
psychomaniak@19052 5 CATEGORY="x-window"
psychomaniak@19054 6 SHORT_DESC="multiload-nandhp is a port of the GNOME multiload applet to SDE waterline panel"
psychomaniak@19052 7 MAINTAINER="psychomaniak@xakep.ru"
psychomaniak@19052 8 LICENSE="GPL2"
psychomaniak@19052 9 WEB_SITE="http://git.make-linux.org/sde/waterline-plugin-multiload"
psychomaniak@19052 10 TARBALL="$PACKAGE-$VERSION.tar.xz"
psychomaniak@19052 11 WGET_URL="http://git.make-linux.org/sde/$PACKAGE.git/snapshot/$TARBALL"
psychomaniak@19054 12 TAGS="desktop panel"
psychomaniak@19052 13
psychomaniak@19052 14 DEPENDS="waterline libgtop"
psychomaniak@19052 15 BUILD_DEPENDS="automake libtool gtk+-dev jansson-dev libsde-utils \
psychomaniak@19052 16 libsde-utils-x11 libsde-utils-jansson libsde-utils-gtk \
psychomaniak@19052 17 xorg-libXcomposite-dev menu-cache-dev alsa-lib-dev xz \
psychomaniak@19052 18 libgtop-dev lxpanel-dev waterline-dev"
psychomaniak@19052 19
psychomaniak@19052 20 # Rules to configure and make the package.
psychomaniak@19052 21 compile_rules()
psychomaniak@19052 22 {
psychomaniak@19052 23 rm -rf $src/.git
psychomaniak@19052 24 ./autogen.sh || return 1
psychomaniak@19053 25 sed 's#ls $srcdir/po/\*.po #& 2>/dev/null#' -i configure
psychomaniak@19052 26 ./configure \
psychomaniak@19052 27 --prefix=/usr \
psychomaniak@19052 28 --libexec=/usr/lib \
psychomaniak@19052 29 --sysconfdir=/etc \
psychomaniak@19052 30 --localstatedir=/var \
psychomaniak@19052 31 --disable-static \
psychomaniak@19052 32 --disable-maintainer-mode \
psychomaniak@19052 33 --enable-silent-rules \
psychomaniak@19052 34 --with-waterline \
psychomaniak@19052 35 --with-lxpanel \
psychomaniak@19052 36 --without-xfce4 \
psychomaniak@19052 37 $CONFIGURE_ARGS &&
psychomaniak@19052 38 make &&
psychomaniak@19052 39 make install
psychomaniak@19052 40 }
psychomaniak@19052 41
psychomaniak@19052 42 # Rules to gen a SliTaz package suitable for Tazpkg.
psychomaniak@19052 43 genpkg_rules()
psychomaniak@19052 44 {
psychomaniak@19052 45 mkdir -p $fs/usr/lib/waterline/plugins
psychomaniak@19052 46 cp -a $install/usr/lib/waterline/plugins/*.so $fs/usr/lib/waterline/plugins
psychomaniak@19052 47 }