summaryrefslogtreecommitdiff
path: root/recipes/giblib
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/giblib
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/giblib')
-rw-r--r--recipes/giblib/files/binconfig.patch30
-rw-r--r--recipes/giblib/giblib-1.2.3/pkgconfig.patch53
-rw-r--r--recipes/giblib/giblib.inc19
-rw-r--r--recipes/giblib/giblib_1.2.3.bb5
-rw-r--r--recipes/giblib/giblib_1.2.4.bb3
5 files changed, 110 insertions, 0 deletions
diff --git a/recipes/giblib/files/binconfig.patch b/recipes/giblib/files/binconfig.patch
new file mode 100644
index 0000000000..5fc5cc4976
--- /dev/null
+++ b/recipes/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/recipes/giblib/giblib-1.2.3/pkgconfig.patch b/recipes/giblib/giblib-1.2.3/pkgconfig.patch
new file mode 100644
index 0000000000..3a93b4bfe4
--- /dev/null
+++ b/recipes/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/recipes/giblib/giblib.inc b/recipes/giblib/giblib.inc
new file mode 100644
index 0000000000..8540e29d60
--- /dev/null
+++ b/recipes/giblib/giblib.inc
@@ -0,0 +1,19 @@
+SECTION = "libs"
+DESCRIPTION = "giblib is a utility library that incorporates doubly linked \
+lists, some string functions, and a wrapper for imlib2."
+LICENSE = "BSD"
+DEPENDS = "virtual/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/recipes/giblib/giblib_1.2.3.bb b/recipes/giblib/giblib_1.2.3.bb
new file mode 100644
index 0000000000..999b6d2d1c
--- /dev/null
+++ b/recipes/giblib/giblib_1.2.3.bb
@@ -0,0 +1,5 @@
+require giblib.inc
+
+PR = "r3"
+
+SRC_URI += "file://pkgconfig.patch;patch=1"
diff --git a/recipes/giblib/giblib_1.2.4.bb b/recipes/giblib/giblib_1.2.4.bb
new file mode 100644
index 0000000000..a86c2fb0e2
--- /dev/null
+++ b/recipes/giblib/giblib_1.2.4.bb
@@ -0,0 +1,3 @@
+require giblib.inc
+
+PR = "r1"