summaryrefslogtreecommitdiff
path: root/packages/libglade/libglade.inc
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-02-06 15:43:36 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2008-02-06 15:43:36 +0000
commit8183955add59156fb35c173d14bf250378b1b9ad (patch)
treed48384f4d409b0a31ccb27adc4253cdd98663419 /packages/libglade/libglade.inc
parent70ff5de66976acf378e89d7ab381295d525a7db1 (diff)
libglade: consolidate and unify
Diffstat (limited to 'packages/libglade/libglade.inc')
-rw-r--r--packages/libglade/libglade.inc25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/libglade/libglade.inc b/packages/libglade/libglade.inc
new file mode 100644
index 0000000000..2aa5df7c95
--- /dev/null
+++ b/packages/libglade/libglade.inc
@@ -0,0 +1,25 @@
+DESCRIPTION = "Runtime support for GTK interface builder"
+HOMEPAGE = "http://glade.gnome.org/"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "LGPL"
+DEPENDS = "gtk+ gtk-doc"
+
+inherit autotools pkgconfig
+
+headers = "glade-build.h glade-init.h glade-parser.h glade-xml.h glade.h"
+
+do_stage () {
+ oe_libinstall -a -so -C glade libglade-2.0 ${STAGING_LIBDIR}
+
+ mkdir -p ${STAGING_INCDIR}/libglade-2.0/glade
+ for i in ${headers}; do
+ install -m 0644 ${S}/glade/$i ${STAGING_INCDIR}/libglade-2.0/glade/$i
+ done
+}
+
+PACKAGES += " ${PN}-data"
+FILES_${PN} = "${libdir}/lib*.so.*"
+FILES_${PN}-data = "${datadir}/xml/libglade/glade-2.0.dtd"
+FILES_${PN}-dev += "${bindir}/libglade-convert"
+#RDEPENDS_${PN} = "${PN}-data"