# Description: Lightweight system monitor for X
# URL: http://conky.sourceforge.net
# Packager: geantbrun at nutyx dot org, tnut at nutyx dot org
# Depends on: wireless-tools glib lua tolua++ cairo curl imlib2 xorg-libxdamage xorg-libxft

name=conky
version=1.9.0
release=2

source=(http://freefr.dl.sourceforge.net/sourceforge/conky/$name-$version.tar.gz)

build() {
cd $name-$version
CPPFLAGS="${CXXFLAGS}" LIBS="${LDFLAGS}" LUA_LIBS="-llua5.1" LUA_CFLAGS="-I/usr/include/lua5.1" \
./configure --prefix=/usr      \
            --sysconfdir=/etc  \
            --enable-wlan      \
	    --enable-rss       \
	    --enable-ibm       \
	    --enable-imlib2    \
	    --enable-lua       \
            --enable-lua-cairo \
            --enable-lua-imlib2
make
make DESTDIR=$PKG install
}
  
