wok annotate conky/receipt @ rev 24936

created recipe for mypaint-brushes
author Hans-G?nter Theisgen
date Thu Apr 14 09:08:33 2022 +0100 (2022-04-14)
parents e93301ba4fec
children 7dd01dedad38
rev   line source
pankso@1017 1 # SliTaz package receipt.
pankso@1017 2
pankso@1017 3 PACKAGE="conky"
samuel_trassare@14189 4 VERSION="1.9.0"
pankso@1017 5 CATEGORY="system-tools"
pankso@1017 6 SHORT_DESC="Simple and very light system monitor."
pankso@1017 7 MAINTAINER="pankso@slitaz.org"
pascal@15033 8 LICENSE="GPL3"
pascal@15023 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@15023 10 WEB_SITE="http://conky.sourceforge.net/"
pascal@15023 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@15023 12 TAGS="desktop monitoring"
pankso@16125 13 HOST_ARCH="i486 arm"
pascal@15023 14
pascal@2489 15 DEPENDS="expat fontconfig freetype glib xorg-libX11 xorg-libXau \
pankso@16136 16 xorg-libXdamage xorg-libXdmcp xorg-libXext xorg-libXfixes libxcb \
pankso@16136 17 xorg-libXft xorg-libXrender zlib ncursesw wireless_tools imlib2"
pankso@16125 18 BUILD_DEPENDS="xorg-libXdamage-dev xorg-libXft-dev fontconfig-dev \
samuel_trassare@14189 19 expat-dev glib glib-dev pkg-config zlib-dev freetype-dev xorg-xextproto \
pankso@16136 20 xorg-damageproto xorg-fixesproto ncursesw-dev libxcb-dev wireless_tools-dev \
pascal@17603 21 imlib2-dev lua-dev libtinfo"
pankso@1017 22
pascal@24373 23 # What is the latest version available today?
pascal@24373 24 current_version()
pascal@24373 25 {
pascal@24373 26 wget -O - https://sourceforge.net/projects/conky/files/conky/ 2>/dev/null | \
pascal@24373 27 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
pascal@24373 28 sed '/scope="row/!d;s|.*/conky/||;s|/.*||;q'
pascal@24373 29 }
pascal@24373 30
pankso@1017 31 # Rules to configure and make the package.
pankso@1017 32 compile_rules()
pankso@1017 33 {
pascal@17628 34 export LDFLAGS="$LDFLAGS -ltinfo"
pankso@1017 35 ./configure \
pankso@1017 36 --prefix=/usr \
pankso@1017 37 --sysconfdir=/etc \
domcox@15528 38 --enable-wlan \
pankso@16136 39 --enable-lua \
pankso@16136 40 --enable-imlib2 \
pascal@1477 41 $CONFIGURE_ARGS &&
pankso@16136 42 make && make install
pankso@1017 43 }
pankso@1017 44
pankso@1017 45 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1017 46 genpkg_rules()
pankso@1017 47 {
domcox@15528 48 mkdir -p $fs/usr $fs/etc/conky $fs/etc/xdg/autostart
samuel_trassare@14189 49 cp -a $install/usr/bin $fs/usr
pankso@16136 50 cp -f $install/etc/conky/conky_no_x11.conf $fs/etc/conky
pankso@9697 51 cp -a $stuff/conky.conf $fs/etc/conky
domcox@15528 52 cp -a $stuff/conky.desktop $fs/etc/xdg/autostart
pankso@1017 53 }