+++ /dev/null
---- src/Makefile~cross 2004-03-01 19:12:37.000000000 -0500
-+++ src/Makefile 2004-06-04 21:59:55.527364588 -0400
-@@ -12,14 +12,14 @@
- #
- # Debug flags and C flags
- #
--DFLAGS = -O3
-+CFLAGS = -O3
- #
- # To build a debug version of the MatrixSSL library, uncomment the DFLAGS line
- # below and remove the strip command in the .so target below.
- #
--#DFLAGS = -g -DDEBUG
-+#CFLAGS = -g -DDEBUG
-
--CFLAGS = -DLINUX $(DFLAGS)
-+override CFLAGS += -DLINUX
- LDFLAGS = -Wl -lc -lpthread
-
- all: compile
-@@ -56,7 +56,6 @@
- #
- libmatrixssl.so: $(OBJECTS)
- $(CC) -shared -nostdlib -o $@ $^ $(LDFLAGS)
-- strip $(LIBRARIES)
-
- #
- # Clean up workspace
--- /dev/null
+def define_os (d):
+ import bb
+ if bb.data.getVar('TARGET_OS', d).startswith('linux'):
+ return "-DLINUX"
+ return ""
+++ /dev/null
-SECTION = "unknown"
-SRC_URI = "http://openembedded.org/dl/matrixssl-1-0-beta2-r2.tar.gz \
- file://cross.patch;patch=1"
-S = "${WORKDIR}/matrixssl/src"
-LICENSE = "GPL"
-def define_os (d):
- import bb
- if bb.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}/
-}
-SECTION = "unknown"
+DESCRIPTION = "A secure sockets library"
+SECTION = "libs"
+LICENSE = "GPL"
+
SRC_URI = "http://openembedded.org/dl/matrixssl-1-1-1.tar.gz \
file://cross.patch;patch=1"
S = "${WORKDIR}/matrixssl/src"
-LICENSE = "GPL"
-def define_os (d):
- import bb
- if bb.data.getVar('TARGET_OS', d).startswith('linux'):
- return "-DLINUX"
- return ""
+require matrixssl.inc
CFLAGS += " ${@define_os(d)}"
do_install () {