wok view conky/receipt @ rev 25033

giblib: modified configure parameter
author Hans-G?nter Theisgen
date Fri May 20 10:31:53 2022 +0100 (2022-05-20)
parents e93301ba4fec
children 7dd01dedad38
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 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - https://sourceforge.net/projects/conky/files/conky/ 2>/dev/null | \
27 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
28 sed '/scope="row/!d;s|.*/conky/||;s|/.*||;q'
29 }
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 export LDFLAGS="$LDFLAGS -ltinfo"
35 ./configure \
36 --prefix=/usr \
37 --sysconfdir=/etc \
38 --enable-wlan \
39 --enable-lua \
40 --enable-imlib2 \
41 $CONFIGURE_ARGS &&
42 make && make install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr $fs/etc/conky $fs/etc/xdg/autostart
49 cp -a $install/usr/bin $fs/usr
50 cp -f $install/etc/conky/conky_no_x11.conf $fs/etc/conky
51 cp -a $stuff/conky.conf $fs/etc/conky
52 cp -a $stuff/conky.desktop $fs/etc/xdg/autostart
53 }