summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/checksums.ini4
-rw-r--r--packages/linebreak/files/liblinebreak-build-fix.patch13
-rw-r--r--packages/linebreak/liblinebreak_0.9.6.bb27
3 files changed, 44 insertions, 0 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index 19a25250e1..f6699cabde 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -11434,6 +11434,10 @@ sha256=e485f36d74f477f3d235a05bb67b502dc744092569842d9ab45e2f785f74f556
md5=6cef76df73f86482fa478ad8252d9055
sha256=d9ca5d502f8a4a6c146d1f0458ac27c95cc59724caa6d845e24946d299463bc5
+[ftp://ftp.debian.org/debian/pool/main/libl/liblinebreak/liblinebreak_0.9.6.orig.tar.gz]
+md5=e898200ac89815365e89b7c6cc2f78fd
+sha256=f23ac7320379d8e950340fe37633c21a56a5f4320d29c34a65819558fe6cdaa1
+
[ftp://ftp.debian.org/debian/pool/main/libl/liblockfile/liblockfile_1.06.tar.gz]
md5=2de88389da013488bfd31356523070c0
sha256=14f9690328318d11f9ba13a9356a2c008bdd169b7a817f38cb7f9eb32cf7240e
diff --git a/packages/linebreak/files/liblinebreak-build-fix.patch b/packages/linebreak/files/liblinebreak-build-fix.patch
new file mode 100644
index 0000000000..7545c370df
--- /dev/null
+++ b/packages/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/packages/linebreak/liblinebreak_0.9.6.bb b/packages/linebreak/liblinebreak_0.9.6.bb
new file mode 100644
index 0000000000..e0fced4e93
--- /dev/null
+++ b/packages/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"