summaryrefslogtreecommitdiff
path: root/packages/lzo
diff options
context:
space:
mode:
Diffstat (limited to 'packages/lzo')
-rw-r--r--packages/lzo/.mtn2git_empty0
-rw-r--r--packages/lzo/lzo_1.08.bb36
2 files changed, 36 insertions, 0 deletions
diff --git a/packages/lzo/.mtn2git_empty b/packages/lzo/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/lzo/.mtn2git_empty
diff --git a/packages/lzo/lzo_1.08.bb b/packages/lzo/lzo_1.08.bb
index e69de29bb2..613340308e 100644
--- a/packages/lzo/lzo_1.08.bb
+++ b/packages/lzo/lzo_1.08.bb
@@ -0,0 +1,36 @@
+DESCRIPTION = "Lossless data compression library"
+HOMEPAGE = "http://www.oberhumer.com/opensource/lzo/"
+LICENSE = "GPLv2"
+SECTION = "libs"
+PRIORITY = "optional"
+PR = "r12"
+
+SRC_URI = "http://www.oberhumer.com/opensource/lzo/download/lzo-${PV}.tar.gz"
+
+inherit autotools
+
+EXTRA_OECONF = "--enable-shared"
+
+#do_configure () {
+# # override this function to avoid the autoconf/automake/aclocal/autoheader
+# # calls for now
+# gnu-configize
+# oe_runconf
+#}
+
+do_stage() {
+ install -m 0644 include/lzo1.h ${STAGING_INCDIR}/lzo1.h
+ install -m 0644 include/lzo16bit.h ${STAGING_INCDIR}/lzo16bit.h
+ install -m 0644 include/lzo1a.h ${STAGING_INCDIR}/lzo1a.h
+ install -m 0644 include/lzo1b.h ${STAGING_INCDIR}/lzo1b.h
+ install -m 0644 include/lzo1c.h ${STAGING_INCDIR}/lzo1c.h
+ install -m 0644 include/lzo1f.h ${STAGING_INCDIR}/lzo1f.h
+ install -m 0644 include/lzo1x.h ${STAGING_INCDIR}/lzo1x.h
+ install -m 0644 include/lzo1y.h ${STAGING_INCDIR}/lzo1y.h
+ install -m 0644 include/lzo1z.h ${STAGING_INCDIR}/lzo1z.h
+ install -m 0644 include/lzo2a.h ${STAGING_INCDIR}/lzo2a.h
+ install -m 0644 include/lzoconf.h ${STAGING_INCDIR}/lzoconf.h
+ install -m 0644 include/lzoutil.h ${STAGING_INCDIR}/lzoutil.h
+
+ oe_libinstall -a -so -C src liblzo ${STAGING_LIBDIR}
+}