--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/conky
+drwxr-xr-x root/root usr/etc/
+drwxr-xr-x root/root usr/etc/conky/
+-rw-r--r-- root/root usr/etc/conky/conky.conf
+-rw-r--r-- root/root usr/etc/conky/conky_no_x11.conf
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/conky.1.gz
--- /dev/null
+# Description: Light-weight system monitor
+# URL: http://conky.sourceforge.net/
+# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
+# Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org
+# Depends on: glib xorg-libxdamage xorg-libxext xorg-libxft
+
+name=conky
+version=1.7.2
+release=1
+source=(http://dl.sourceforge.net/sourceforge/conky/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+
+ export DEFAULT_LIBS="-L$CLFS/usr/lib"
+ export DEFAULT_CFLAGS="-I$CLFS/usr/include"
+ export X11_LIBS="$DEFAULT_LIBS -lX11"
+ export X11_CFLAGS="$DEFAULT_CFLAGS"
+ export Xext_LIBS="$DEFAULT_LIBS -lXext"
+ export Xext_CFLAGS="$DEFAULT_CFLAGS"
+ export XDamage_LIBS="$DEFAULT_LIBS -lXdamage"
+ export XDamage_CFLAGS="$DEFAULT_CFLAGS"
+ export XFixes_LIBS="$DEFAULT_LIBS -lXfixes"
+ export XFixes_CFLAGS="$DEFAULT_CFLAGS"
+ export Xft_LIBS="$DEFAULT_LIBS -lXft"
+ export Xft_CFLAGS="$DEFAULT_CFLAGS"
+ export glib2_LIBS="$DEFAULT_LIBS -lglib-2.0"
+ export glib2_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/glib-2.0 -I$CLFS/usr/lib/glib-2.0/include"
+ export libcurl_LIBS="$DEFAULT_LIBS -lcurl"
+ export libcurl_CFLAGS="$DEFAULT_CFLAGS"
+ export FREETYPE_LIBS="$DEFAULT_LIBS -lfreetype -lz"
+ export FREETYPE_CFLAGS="$DEFAULT_CFLAGS -I$CLFS/usr/include/freetype2"
+ export conky_LIBS="$X11_LIBS $Xext_LIBS $XDamage_LIBS $XFixes_LIBS $Xft_LIBS $glib2_LIBS $libcurl_LIBS $FREETYPE_LIBS"
+ export conky_CFLAGS="$X11_CFLAGS $Xext_CFLAGS $XDamage_CFLAGS $XFixes_CFLAGS $Xft_CFLAGS $glib2_CFLAGS $libcurl_CFLAGS $FREETYPE_CFLAGS"
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --mandir=/usr/man \
+ --disable-lua \
+ --enable-xft \
+ --enable-portmon \
+ --enable-mpd
+
+ make
+ make DESTDIR=$PKG install
+ rm -r $PKG/usr/lib
+}