summaryrefslogtreecommitdiff
path: root/matrixssl/matrixssl_1.0-beta.oe
diff options
context:
space:
mode:
Diffstat (limited to 'matrixssl/matrixssl_1.0-beta.oe')
-rw-r--r--matrixssl/matrixssl_1.0-beta.oe18
1 files changed, 18 insertions, 0 deletions
diff --git a/matrixssl/matrixssl_1.0-beta.oe b/matrixssl/matrixssl_1.0-beta.oe
index e69de29bb2..5160c1baf4 100644
--- a/matrixssl/matrixssl_1.0-beta.oe
+++ b/matrixssl/matrixssl_1.0-beta.oe
@@ -0,0 +1,18 @@
+SECTION = "unknown"
+SRC_URI = "http://openembedded.org/dl/matrixssl-1-0-beta2-r2.tar.gz \
+ file://cross.patch;patch=1"
+S = "${WORKDIR}/matrixssl/src"
+
+def define_os (d):
+ import oe
+ if oe.data.getVar('TARGET_OS', d).startswith('linux'):
+ return "-DLINUX"
+ return ""
+
+CFLAGS += " ${@define_os(d)}"
+
+do_install () {
+ install -d ${D}/${includedir}
+ install -m 0644 ${S}/../matrixSsl.h ${D}/${includedir}/
+ oe_libinstall -so libmatrixssl ${D}/${libdir}/
+}