wok-next view waterline-plugin-multiload/receipt @ rev 20496
Packages with tag "Xfce": fix (b)deps
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 14 17:14:32 2018 +0200 (2018-03-14) |
parents | 27bfe81dc6bd |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="waterline-plugin-multiload"
4 VERSION="f8b592a"
5 CATEGORY="x-window"
6 SHORT_DESC="multiload-nandhp is a port of the GNOME multiload applet to SDE waterline panel"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL2"
9 WEB_SITE="http://git.make-linux.org/sde/waterline-plugin-multiload"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="http://git.make-linux.org/sde/$PACKAGE.git/snapshot/$TARBALL"
12 TAGS="desktop panel"
14 BUILD_DEPENDS="automake libtool intltool gtk+-dev jansson-dev libsde-utils \
15 libsde-utils-x11 libsde-utils-jansson libsde-utils-gtk \
16 xorg-libXcomposite-dev menu-cache-dev alsa-lib-dev xz \
17 libgtop-dev lxpanel-dev waterline-dev xorg-dev intltool gettext"
18 SPLIT="waterline-plugin-multiload lxpanel-plugin-multiload"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 rm -rf $src/.git
24 ./autogen.sh || return 1
25 sed 's#ls $srcdir/po/\*.po #& 2>/dev/null#' -i configure
26 ./configure \
27 --prefix=/usr \
28 --libexec=/usr/lib \
29 --sysconfdir=/etc \
30 --localstatedir=/var \
31 --disable-static \
32 --disable-maintainer-mode \
33 --enable-silent-rules \
34 --with-waterline \
35 --with-lxpanel \
36 --without-xfce4 \
37 $CONFIGURE_ARGS &&
38 make &&
39 make install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 case $PACKAGE in
46 waterline-plugin-multiload)
47 DEPENDS="waterline libgtop"
48 mkdir -p $fs/usr/lib/waterline/plugins
49 cp -a $install/usr/lib/waterline/plugins/*.so $fs/usr/lib/waterline/plugins
50 ;;
51 lxpanel-plugin-multiload)
52 DEPENDS="lxpanel libgtop"
53 mkdir -p $fs/usr/lib/lxpanel/plugins
54 cp -a $install/usr/lib/lxpanel/plugins/*.so $fs/usr/lib/lxpanel/plugins
55 ;;
56 esac
57 }