summaryrefslogtreecommitdiff
path: root/libglade/libglade_2.0.1.oe
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-03-08 22:38:49 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-03-08 22:38:49 +0000
commit06cbe139c38dc0e8271d5a729dac8c40115abcf5 (patch)
tree6118dcb7654e69ada690b9464e691f577343f37c /libglade/libglade_2.0.1.oe
parent1c601d6519e28f340e36165d1893c67911ecb473 (diff)
fix libglade configure by installing the m4 for gtk+ 2.0
BKrev: 404cf5f9AnYHJuDpMKSv-HelAimLZg
Diffstat (limited to 'libglade/libglade_2.0.1.oe')
-rw-r--r--libglade/libglade_2.0.1.oe30
1 files changed, 30 insertions, 0 deletions
diff --git a/libglade/libglade_2.0.1.oe b/libglade/libglade_2.0.1.oe
index e69de29bb2..92ca62c7a5 100644
--- a/libglade/libglade_2.0.1.oe
+++ b/libglade/libglade_2.0.1.oe
@@ -0,0 +1,30 @@
+DESCRIPTION = Runtime support for GTK interface builder
+SECTION = libs
+PRIORITY = optional
+RDEPENDS = gtk+ libxml2
+DEPENDS = virtual/libc libxml2 gtk+
+MAINTAINER = "Phil Blundell <pb@handhelds.org>"
+
+SRC_URI = ftp://ftp.gnome.org/pub/GNOME/sources/${PN}/2.0/${P}.tar.bz2
+
+inherit autotools pkgconfig libtool
+
+libname = libglade-2.0.so.0.0.1
+headers = glade-build.h glade-init.h glade-parser.h glade-xml.h glade.h
+
+do_configure_prepend() {
+ install -d m4
+ install ${FILESDIR}/gtk-2.0.m4 m4/
+}
+
+do_stage () {
+ install -m 0755 glade/.libs/${libname} ${STAGING_LIBDIR}/
+ ln -sf ${libname} ${STAGING_LIBDIR}/libglade-2.0.so.2
+ ln -sf ${libname} ${STAGING_LIBDIR}/libglade-2.0.so
+ install -m 0644 glade/.libs/libglade-2.0.lai ${STAGING_LIBDIR}/libglade-2.0.la
+
+ mkdir -p ${STAGING_INCDIR}/libglade-2.0/glade
+ for i in ${headers}; do
+ install -m 0644 glade/$i ${STAGING_INCDIR}/libglade-2.0/glade/$i
+ done
+}