1 # Description: GTK+ based simple text editor.
2 # URL: http://tarot.freeshell.org/leafpad
3 # Maintainer: Victor Martinez, pitillo at ono dot com
4 # Arch Maintainer System Team devel at crux-arm dot nu
10 source=(http://savannah.nongnu.org/download/$name/$name-$version.tar.gz)
13 export DEFAULT_LIBS="-L$CLFS/usr/lib"
14 export DEFAULT_CFLAGS="-I$CLFS/usr/include"
16 export GTK_LIBS="$DEFAULT_LIBS -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangoft2-1.0 -lgio-2.0 -latk-1.0 -lglib-2.0 -lcairo"
17 export GTK_CFLAGS="$DEFAULT_CFLAGS/gtk-2.0 $DEFAULT_CFLAGS/gdk-2.0 -I$CLFS/usr/lib/gtk-2.0/include $DEFAULT_CFLAGS/pango-1.0 $DEFAULT_CFLAGS/gio-unix-2.0 $DEFAULT_CFLAGS/atk-1.0 $DEFAULT_CFLAGS/glib-2.0 -I$CLFS/usr/lib/glib-2.0/include $DEFAULT_CFLAGS/cairo"
20 sed "s@SUBDIRS = src data po@SUBDIRS = src data@g" -i Makefile.in
21 ./configure --build=$CHOST \
26 make DESTDIR=$PKG install