1 # Description: GTK based notebook which has similar functionality to the Psion Revo PDA.
2 # URL: http://ordiluc.net/gtklepin/
3 # Packager: Jose V Beneyto, sepen at crux dot nu
4 # Maintainer: Jose V Beneyto, sepen at crux dot nu
5 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
11 source=(http://ordiluc.net/$name/$name-$version.tar.bz2 \
12 $name-$version-cross_compile.patch)
17 patch -p1 -i $SRC/$name-$version-cross_compile.patch
19 export GLIB_LIBS="-pthread -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0"
20 export GLIB_CFLAGS="-pthread -I$CLFS/usr/include/glib-2.0 -I$CLFS/usr/lib/glib-2.0/include"
22 export GTK_LIBS="$GLIB_LIBS -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"
23 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/pixman-1 -I$CLFS/usr/include/freetype2 -I$CLFS/usr/include/libpng12"
25 ./configure --build=$CHOST \
34 # fix previous declaration of 'getline'
36 -e 's|getline|gstring_getline|g'
39 make DESTDIR=$PKG install