aboutsummaryrefslogtreecommitdiffstats
path: root/packages/matrixssl/matrixssl_1.1.1.bb
blob: 674e4b4509ed20acee9e1d5826a0c1efb39f6b24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SECTION = "unknown"
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 ""

CFLAGS += " ${@define_os(d)}"

do_install () {
	install -d ${D}${includedir}
	install -m 0644 ${S}/../matrixSsl.h ${D}${includedir}/
	oe_libinstall -so libmatrixssl ${D}${libdir}/
}