wok annotate conky/receipt @ rev 18611

Up slitaz-tools(959)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Nov 17 16:13:43 2015 +0200 (2015-11-17)
parents 8867e580cd8d
children 9af0e03b8ad0
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
pankso@1017 23 # Rules to configure and make the package.
pankso@1017 24 compile_rules()
pankso@1017 25 {
pascal@17628 26 export LDFLAGS="$LDFLAGS -ltinfo"
pankso@1017 27 ./configure \
pankso@1017 28 --prefix=/usr \
pankso@1017 29 --sysconfdir=/etc \
domcox@15528 30 --enable-wlan \
pankso@16136 31 --enable-lua \
pankso@16136 32 --enable-imlib2 \
pascal@1477 33 $CONFIGURE_ARGS &&
pankso@16136 34 make && make install
pankso@1017 35 }
pankso@1017 36
pankso@1017 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1017 38 genpkg_rules()
pankso@1017 39 {
domcox@15528 40 mkdir -p $fs/usr $fs/etc/conky $fs/etc/xdg/autostart
samuel_trassare@14189 41 cp -a $install/usr/bin $fs/usr
pankso@16136 42 cp -f $install/etc/conky/conky_no_x11.conf $fs/etc/conky
pankso@9697 43 cp -a $stuff/conky.conf $fs/etc/conky
domcox@15528 44 cp -a $stuff/conky.desktop $fs/etc/xdg/autostart
pankso@1017 45 }