aboutsummaryrefslogtreecommitdiffstats
path: root/packages/giblib/giblib_1.2.3.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/giblib/giblib_1.2.3.bb')
-rw-r--r--packages/giblib/giblib_1.2.3.bb29
1 files changed, 3 insertions, 26 deletions
diff --git a/packages/giblib/giblib_1.2.3.bb b/packages/giblib/giblib_1.2.3.bb
index 514b4a0b21..59065c2abf 100644
--- a/packages/giblib/giblib_1.2.3.bb
+++ b/packages/giblib/giblib_1.2.3.bb
@@ -1,28 +1,5 @@
-SECTION = "libs"
-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>"
-LICENSE = "BSD"
-DEPENDS = "imlib2"
-PR = "r1"
+include giblib.inc
-SRC_URI = "http://linuxbrit.co.uk/downloads/giblib-${PV}.tar.gz \
- file://pkgconfig.patch;patch=1"
-S = "${WORKDIR}/giblib-${PV}"
+PR = "r3"
-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
-}
+SRC_URI += "file://pkgconfig.patch;patch=1"