From fb728c42861fa82552f4fafa0cf0f1872fc97475 Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Mon, 25 Jan 2010 14:34:30 +0100 Subject: [PATCH] conky: initial import (verified compilation) --- conky/.footprint | 10 ++++++++++ conky/.md5sum | 1 + conky/Pkgfile | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 conky/.footprint create mode 100644 conky/.md5sum create mode 100644 conky/Pkgfile diff --git a/conky/.footprint b/conky/.footprint new file mode 100644 index 0000000..81df1f1 --- /dev/null +++ b/conky/.footprint @@ -0,0 +1,10 @@ +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 diff --git a/conky/.md5sum b/conky/.md5sum new file mode 100644 index 0000000..9db1807 --- /dev/null +++ b/conky/.md5sum @@ -0,0 +1 @@ +cf6f5d45d42ad68c618c00271813b80d conky-1.7.2.tar.bz2 diff --git a/conky/Pkgfile b/conky/Pkgfile new file mode 100644 index 0000000..08defe7 --- /dev/null +++ b/conky/Pkgfile @@ -0,0 +1,48 @@ +# 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 +} -- 2.26.2