summaryrefslogtreecommitdiff
path: root/recipes/linebreak
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/linebreak
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/linebreak')
-rw-r--r--recipes/linebreak/files/liblinebreak-build-fix.patch13
-rw-r--r--recipes/linebreak/liblinebreak_0.9.6.bb27
2 files changed, 40 insertions, 0 deletions
diff --git a/recipes/linebreak/files/liblinebreak-build-fix.patch b/recipes/linebreak/files/liblinebreak-build-fix.patch
new file mode 100644
index 0000000000..7545c370df
--- /dev/null
+++ b/recipes/linebreak/files/liblinebreak-build-fix.patch
@@ -0,0 +1,13 @@
+Index: liblinebreak/Makefile
+===================================================================
+--- liblinebreak.orig/Makefile 2008-11-23 15:47:09.713701530 +0300
++++ liblinebreak/Makefile 2008-11-23 15:48:12.081703050 +0300
+@@ -86,7 +86,7 @@ AR = ar
+ LD = $(CXX) $(CXXFLAGS) $(TARGET_ARCH)
+
+ INCLUDE = -I. $(patsubst %,-I%,$(VPATH))
+-CFLAGS = -W -Wall $(INCLUDE)
++CFLAGS = -W -Wall $(INCLUDE) -fPIC -D_REENTRANT
+ CXXFLAGS = $(CFLAGS)
+ DBGFLAGS = -D_DEBUG -g
+ RELFLAGS = -DNDEBUG -O2
diff --git a/recipes/linebreak/liblinebreak_0.9.6.bb b/recipes/linebreak/liblinebreak_0.9.6.bb
new file mode 100644
index 0000000000..e0fced4e93
--- /dev/null
+++ b/recipes/linebreak/liblinebreak_0.9.6.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "line breaking library"
+HOMEPAGE = "https://sourceforge.net/projects/vimgadgets"
+SECTION = "devel"
+LICENSE = "Unicode"
+PR = "r0"
+
+SRC_URI = "${DEBIAN_MIRROR}/main/libl/liblinebreak/liblinebreak_${PV}.orig.tar.gz \
+ file://liblinebreak-build-fix.patch;patch=1"
+
+do_compile() {
+ oe_runmake release
+}
+
+do_install() {
+ install -d ${D}/usr/include
+ install -d ${D}/usr/lib
+
+ install -m 644 ${S}/linebreak.h ${D}/usr/include
+ install -m 644 ${S}/ReleaseDir/liblinebreak.a ${D}/usr/lib
+}
+
+do_stage() {
+ install -m 644 linebreak.h ${STAGING_INCDIR}
+ install -m 644 ReleaseDir/liblinebreak.a ${STAGING_LIBDIR}
+}
+
+S = "${WORKDIR}/liblinebreak"