aboutsummaryrefslogtreecommitdiffstats
path: root/giblib
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-07-15 23:30:29 +0000
committerChris Larson <clarson@kergoth.com>2004-07-15 23:30:29 +0000
commite21e82fe32560d07e677b1832f4d0b473d0fb6d9 (patch)
tree8f462cbd2505fc2cba487ea16f31114ac6585d51 /giblib
parentd80c5ae58beb0de010e24b9e13eb8fbf031d1b4e (diff)
downloadopenembedded-e21e82fe32560d07e677b1832f4d0b473d0fb6d9.tar.gz
Make giblib make use of pkgconfig, installing a .pc file.
BKrev: 40f71395OMbySjKl0OLhhR0x8xeabA
Diffstat (limited to 'giblib')
-rw-r--r--giblib/giblib-1.2.3/pkgconfig.patch0
-rw-r--r--giblib/giblib_1.2.3.oe26
2 files changed, 26 insertions, 0 deletions
diff --git a/giblib/giblib-1.2.3/pkgconfig.patch b/giblib/giblib-1.2.3/pkgconfig.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/giblib/giblib-1.2.3/pkgconfig.patch
diff --git a/giblib/giblib_1.2.3.oe b/giblib/giblib_1.2.3.oe
index e69de29bb2..6482410f90 100644
--- a/giblib/giblib_1.2.3.oe
+++ b/giblib/giblib_1.2.3.oe
@@ -0,0 +1,26 @@
+DESCRIPTION = "giblib is a utility library that incorporates doubly linked \
+lists, some string functions, and a wrapper for imlib2."
+MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
+DEPENDS = "imlib2"
+PR = "r1"
+
+SRC_URI = "http://linuxbrit.co.uk/downloads/giblib-${PV}.tar.gz \
+ file://pkgconfig.patch;patch=1"
+S = "${WORKDIR}/giblib-${PV}"
+
+inherit autotools pkgconfig
+
+headers = "gib_imlib.h gib_btree.h gib_debug.h gib_queue.h gib_stack.h \
+gib_style.h giblib_config.h gib_hash.h giblib.h gib_list.h gib_utils.h"
+do_stage () {
+ oe_libinstall -a -so -C giblib libgiblib ${STAGING_LIBDIR}
+ install -d ${STAGING_INCDIR}/giblib
+ for h in ${headers}; do
+ install -m 0644 ${S}/giblib/$h ${STAGING_INCDIR}/giblib/
+ done
+ cat giblib-config | sed -e "s,${prefix},${STAGING_LIBDIR}/..," \
+ -e "s,${exec_prefix},${STAGING_BINDIR}/..," \
+ -e "s,${includedir},${STAGING_INCDIR}," \
+ -e "s,${libdir},${STAGING_LIBDIR}," > ${STAGING_BINDIR}/giblib-config
+ chmod a+rx ${STAGING_BINDIR}/giblib-config
+}