--- /dev/null
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/gtklepin
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/gtklepin.1.gz
--- /dev/null
+# Description: GTK based notebook which has similar functionality to the Psion Revo PDA.
+# URL: http://ordiluc.net/gtklepin/
+# Packager: Jose V Beneyto, sepen at crux dot nu
+# Maintainer: Jose V Beneyto, sepen at crux dot nu
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: gtk
+
+name=gtklepin
+version=0.3
+release=1
+source=(http://ordiluc.net/$name/$name-$version.tar.bz2)
+
+build() {
+ cd $name-$version
+
+ export GTK_LIBS=" -L$CLFS/usr/lib -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0"
+ export GTK_CFLAGS="-I$CLFS/usr/include -pthread -I$CLFS/usr/include/gtk-2.0 -I$CLFS/usr/lib/gtk-2.0/include -I$CLFS/usr/include/atk-1.0 -I$CLFS/usr/include/cairo -I$CLFS/usr/include/pango-1.0 -I$CLFS/usr/include/glib-2.0 -I$CLFS/usr/lib/glib-2.0/include -I$CLFS/usr/include/pixman-1 -I$CLFS/usr/include/freetype2 -I$CLFS/usr/include/libpng12"
+
+ sed -i configure \
+ -e "s|GTK_LIBS=.*|GTK_LIBS=\"$GTK_LIBS\"|g" \
+ -e "s|GTK_CFLAGS=.*|GTK_CFLAGS=\"$GTK_CFLAGS\"|g" \
+ -e 's|no_gtk=yes|no_gtk=|g'
+
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --disable-nls \
+ --disable-debug \
+ --disable-glibtest \
+ --disable-gtktest \
+ --without-zlib
+
+ # fix previous declaration of 'getline'
+ sed -i src/* -e 's|getline|gstring_getline|g'
+
+ make
+ make DESTDIR=$PKG install
+}