From 9d992b2c26d6dc8e89aebb81aec7d905778681a9 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 2 Nov 2010 08:13:25 +0000 Subject: [PATCH] leafpad: initial import (verified compilation) --- leafpad/.footprint | 26 ++++++++++++++++++++++++++ leafpad/.md5sum | 1 + leafpad/Pkgfile | 27 +++++++++++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 leafpad/.footprint create mode 100644 leafpad/.md5sum create mode 100644 leafpad/Pkgfile diff --git a/leafpad/.footprint b/leafpad/.footprint new file mode 100644 index 0000000..8defddb --- /dev/null +++ b/leafpad/.footprint @@ -0,0 +1,26 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/leafpad +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/applications/ +-rw-r--r-- root/root usr/share/applications/leafpad.desktop +drwxr-xr-x root/root usr/share/icons/ +drwxr-xr-x root/root usr/share/icons/hicolor/ +drwxr-xr-x root/root usr/share/icons/hicolor/16x16/ +drwxr-xr-x root/root usr/share/icons/hicolor/16x16/apps/ +-rw-r--r-- root/root usr/share/icons/hicolor/16x16/apps/leafpad.png +drwxr-xr-x root/root usr/share/icons/hicolor/22x22/ +drwxr-xr-x root/root usr/share/icons/hicolor/22x22/apps/ +-rw-r--r-- root/root usr/share/icons/hicolor/22x22/apps/leafpad.png +drwxr-xr-x root/root usr/share/icons/hicolor/24x24/ +drwxr-xr-x root/root usr/share/icons/hicolor/24x24/apps/ +-rw-r--r-- root/root usr/share/icons/hicolor/24x24/apps/leafpad.png +drwxr-xr-x root/root usr/share/icons/hicolor/32x32/ +drwxr-xr-x root/root usr/share/icons/hicolor/32x32/apps/ +-rw-r--r-- root/root usr/share/icons/hicolor/32x32/apps/leafpad.png +drwxr-xr-x root/root usr/share/icons/hicolor/scalable/ +drwxr-xr-x root/root usr/share/icons/hicolor/scalable/apps/ +-rw-r--r-- root/root usr/share/icons/hicolor/scalable/apps/leafpad.svg +drwxr-xr-x root/root usr/share/pixmaps/ +-rw-r--r-- root/root usr/share/pixmaps/leafpad.png +-rw-r--r-- root/root usr/share/pixmaps/leafpad.xpm diff --git a/leafpad/.md5sum b/leafpad/.md5sum new file mode 100644 index 0000000..8eb8c94 --- /dev/null +++ b/leafpad/.md5sum @@ -0,0 +1 @@ +d39acdf4d31de309d484511bdc9f5924 leafpad-0.8.17.tar.gz diff --git a/leafpad/Pkgfile b/leafpad/Pkgfile new file mode 100644 index 0000000..e112a74 --- /dev/null +++ b/leafpad/Pkgfile @@ -0,0 +1,27 @@ +# Description: GTK+ based simple text editor. +# URL: http://tarot.freeshell.org/leafpad +# Maintainer: Victor Martinez, pitillo at ono dot com +# Arch Maintainer System Team devel at crux-arm dot nu +# Depends on: gtk + +name=leafpad +version=0.8.17 +release=1 +source=(http://savannah.nongnu.org/download/$name/$name-$version.tar.gz) + +build() { + export DEFAULT_LIBS="-L$CLFS/usr/lib" + export DEFAULT_CFLAGS="-I$CLFS/usr/include" + + 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" + 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" + + cd $name-$version + sed "s@SUBDIRS = src data po@SUBDIRS = src data@g" -i Makefile.in + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --enable-chooser + make + make DESTDIR=$PKG install +} -- 2.26.2