wok view conky/receipt @ rev 22102

Add python-attr
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 01 15:22:59 2019 +0100 (2019-11-01)
parents 8867e580cd8d
children 9af0e03b8ad0
line source
1 # SliTaz package receipt.
3 PACKAGE="conky"
4 VERSION="1.9.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Simple and very light system monitor."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://conky.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="desktop monitoring"
13 HOST_ARCH="i486 arm"
15 DEPENDS="expat fontconfig freetype glib xorg-libX11 xorg-libXau \
16 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes libxcb \
17 xorg-libXft xorg-libXrender zlib ncursesw wireless_tools imlib2"
18 BUILD_DEPENDS="xorg-libXdamage-dev xorg-libXft-dev fontconfig-dev \
19 expat-dev glib glib-dev pkg-config zlib-dev freetype-dev xorg-xextproto \
20 xorg-damageproto xorg-fixesproto ncursesw-dev libxcb-dev wireless_tools-dev \
21 imlib2-dev lua-dev libtinfo"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export LDFLAGS="$LDFLAGS -ltinfo"
27 ./configure \
28 --prefix=/usr \
29 --sysconfdir=/etc \
30 --enable-wlan \
31 --enable-lua \
32 --enable-imlib2 \
33 $CONFIGURE_ARGS &&
34 make && make install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr $fs/etc/conky $fs/etc/xdg/autostart
41 cp -a $install/usr/bin $fs/usr
42 cp -f $install/etc/conky/conky_no_x11.conf $fs/etc/conky
43 cp -a $stuff/conky.conf $fs/etc/conky
44 cp -a $stuff/conky.desktop $fs/etc/xdg/autostart
45 }