summaryrefslogtreecommitdiff
path: root/glib-1.2/glib-1.2-native_1.2.10.oe
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-11-16 06:46:57 +0000
committerChris Larson <clarson@kergoth.com>2004-11-16 06:46:57 +0000
commit654abaacc8e90f051c9aff1851f8cdc92fd959b6 (patch)
treeca9cd607501caf80b5964f78caef764cc6c25172 /glib-1.2/glib-1.2-native_1.2.10.oe
parent81ea22f6276ed5415767bb8855ef8ee114a1c0b3 (diff)
Kill manual dependency on gettext-native in favor of inheriting the oeclass, in some packages.
BKrev: 4199a2611jNNB6rZRguDijjOn9uXgw
Diffstat (limited to 'glib-1.2/glib-1.2-native_1.2.10.oe')
-rw-r--r--glib-1.2/glib-1.2-native_1.2.10.oe46
1 files changed, 46 insertions, 0 deletions
diff --git a/glib-1.2/glib-1.2-native_1.2.10.oe b/glib-1.2/glib-1.2-native_1.2.10.oe
index e69de29bb2..5e9d515a5f 100644
--- a/glib-1.2/glib-1.2-native_1.2.10.oe
+++ b/glib-1.2/glib-1.2-native_1.2.10.oe
@@ -0,0 +1,46 @@
+PR = "r0"
+DESCRIPTION = "GLib 1.2 is a deprecated libray to \
+provide support for old glib 1.2 based applications"
+SECTION = "libs"
+PRIORITY = "optional"
+MAINTAINER = "Philip Blundell <pb@handhelds.org>"
+DEPENDS = ""
+
+FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/glib-1.2-${PV}"
+
+EXTRA_OECONF = "--disable-debug"
+
+SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v1.2/glib-${PV}.tar.gz \
+ file://glibconfig-sysdefs.h \
+ file://depcomp \
+ file://glib-reconf-fix;patch=1 \
+ file://posix-conf-changes;patch=1 \
+ file://gcc-3.4-pretty_function;patch=1"
+
+
+S = "${WORKDIR}/glib-${PV}"
+
+inherit autotools pkgconfig native gettext
+
+acpaths = ""
+do_configure_prepend () {
+ install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
+ install -m 0644 ${WORKDIR}/depcomp .
+ rm -f ltconfig acinclude.m4 libtool ltmain.sh
+}
+
+
+do_stage () {
+ oe_libinstall -so libglib ${STAGING_LIBDIR}
+ oe_libinstall -so -C gmodule libgmodule-1.2 ${STAGING_LIBDIR}
+ oe_libinstall -so -C gthread libgthread-1.2 ${STAGING_LIBDIR}
+ autotools_stage_includes
+ install -d ${STAGING_INCDIR}/glib-1.2
+ install -m 0755 ${S}/glibconfig.h ${STAGING_INCDIR}/glib-1.2/glibconfig.h
+ install -d ${STAGING_DATADIR}/aclocal
+ install -m 0644 ${S}/glib.m4 ${STAGING_DATADIR}/aclocal/glib-1.2.m4
+}
+
+do_install () {
+ :
+}