summaryrefslogtreecommitdiff
path: root/packages/giblib
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-06-30 08:19:37 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-06-30 08:19:37 +0000
commitc8e5702127e507e82e6f68a4b8c546803accea9d (patch)
tree00583491f40ecc640f2b28452af995e3a63a09d7 /packages/giblib
parent87ec8ca4d2e2eb4d1c1e1e1a6b46a395d56805b9 (diff)
import clean BK tree at cset 1.3670
Diffstat (limited to 'packages/giblib')
-rw-r--r--packages/giblib/.mtn2git_empty0
-rw-r--r--packages/giblib/files/.mtn2git_empty0
-rw-r--r--packages/giblib/files/binconfig.patch30
-rw-r--r--packages/giblib/giblib-1.2.3/.mtn2git_empty0
-rw-r--r--packages/giblib/giblib-1.2.3/pkgconfig.patch53
-rw-r--r--packages/giblib/giblib.inc20
-rw-r--r--packages/giblib/giblib_1.2.4.bb3
7 files changed, 106 insertions, 0 deletions
diff --git a/packages/giblib/.mtn2git_empty b/packages/giblib/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/giblib/.mtn2git_empty
diff --git a/packages/giblib/files/.mtn2git_empty b/packages/giblib/files/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/giblib/files/.mtn2git_empty
diff --git a/packages/giblib/files/binconfig.patch b/packages/giblib/files/binconfig.patch
index e69de29bb2..5fc5cc4976 100644
--- a/packages/giblib/files/binconfig.patch
+++ b/packages/giblib/files/binconfig.patch
@@ -0,0 +1,30 @@
+Index: giblib-1.2.4/giblib-config.in
+===================================================================
+--- giblib-1.2.4.orig/giblib-config.in 2004-09-04 10:40:40.000000000 -0400
++++ giblib-1.2.4/giblib-config.in 2005-03-12 19:42:13.902432000 -0500
+@@ -3,6 +3,8 @@
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+ exec_prefix_set=no
++libdir=@libdir@
++incluedir=@includedir@
+
+ usage="\
+ Usage: giblib-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]"
+@@ -39,13 +41,13 @@
+ echo @VERSION@
+ ;;
+ --cflags)
+- if test @includedir@ != /usr/include ; then
+- includes=-I@includedir@
++ if test ${includedir} != /usr/include ; then
++ includes=-I${includedir}
+ fi
+ echo $includes -I$prefix/include/giblib @IMLIB_CFLAGS@
+ ;;
+ --libs)
+- libdirs=-L@libdir@
++ libdirs=-L${libdir}
+ echo $libdirs -lgiblib @LDFLAGS@ @IMLIB_LIBS@
+ ;;
+ *)
diff --git a/packages/giblib/giblib-1.2.3/.mtn2git_empty b/packages/giblib/giblib-1.2.3/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/giblib/giblib-1.2.3/.mtn2git_empty
diff --git a/packages/giblib/giblib-1.2.3/pkgconfig.patch b/packages/giblib/giblib-1.2.3/pkgconfig.patch
index e69de29bb2..3a93b4bfe4 100644
--- a/packages/giblib/giblib-1.2.3/pkgconfig.patch
+++ b/packages/giblib/giblib-1.2.3/pkgconfig.patch
@@ -0,0 +1,53 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- /dev/null 2004-06-02 16:28:12.000000000 -0500
++++ giblib-1.2.3/giblib.pc.in 2004-07-15 18:27:41.000000000 -0500
+@@ -0,0 +1,10 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: giblib
++Description: a utility library
++Version: @VERSION@
++Libs: -L${libdir} -lgiblib @LDFLAGS@ @IMLIB_LIBS@
++Cflags: -I${includedir}/giblib -I${includedir} @IMLIB_CFLAGS@
+--- giblib-1.2.3/Makefile.am~pkgconfig 2000-11-09 06:39:15.000000000 -0600
++++ giblib-1.2.3/Makefile.am 2004-07-15 18:24:44.000000000 -0500
+@@ -5,6 +5,11 @@
+ docs_DATA = README AUTHORS ChangeLog TODO
+ docsdir = $(prefix)/doc/giblib
+
+-EXTRA_DIST= $(docs_DATA)
++pkgconfigdir = $(libdir)/pkgconfig
++pkgconfig_DATA = giblib.pc
++
++$(pkgconfig_DATA): config.status
++
++EXTRA_DIST= $(docs_DATA) $(pkgconfig_DATA)
+
+ bin_SCRIPTS = giblib-config
+--- giblib-1.2.3/configure.ac~pkgconfig 2003-02-25 07:00:50.000000000 -0600
++++ giblib-1.2.3/configure.ac 2004-07-15 18:25:05.000000000 -0500
+@@ -35,6 +35,7 @@
+ AC_CONFIG_FILES([
+ Makefile
+ giblib-config
++giblib.pc
+ giblib/Makefile
+ ])
+ AC_CONFIG_COMMANDS([default],[[
+--- giblib-1.2.3/configure.in~pkgconfig 2003-02-25 07:00:55.000000000 -0600
++++ giblib-1.2.3/configure.in 2004-07-15 18:24:56.000000000 -0500
+@@ -34,6 +34,7 @@
+ AC_OUTPUT([
+ Makefile
+ giblib-config
++giblib.pc
+ giblib/Makefile
+ ], [
+ chmod +x giblib-config
diff --git a/packages/giblib/giblib.inc b/packages/giblib/giblib.inc
index e69de29bb2..33f59d407c 100644
--- a/packages/giblib/giblib.inc
+++ b/packages/giblib/giblib.inc
@@ -0,0 +1,20 @@
+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"
+
+SRC_URI = "http://linuxbrit.co.uk/downloads/giblib-${PV}.tar.gz \
+ file://binconfig.patch;patch=1"
+S = "${WORKDIR}/giblib-${PV}"
+
+inherit autotools pkgconfig binconfig
+
+do_stage () {
+ autotools_stage_includes
+ oe_libinstall -a -so -C giblib libgiblib ${STAGING_LIBDIR}
+}
+
+FILES_${PN} = "${libdir}/lib*.so.*"
+FILES_${PN}-dev += "${bindir}/giblib-config"
diff --git a/packages/giblib/giblib_1.2.4.bb b/packages/giblib/giblib_1.2.4.bb
index e69de29bb2..63bea99f53 100644
--- a/packages/giblib/giblib_1.2.4.bb
+++ b/packages/giblib/giblib_1.2.4.bb
@@ -0,0 +1,3 @@
+include giblib.inc
+
+PR = "r1"