matrixssl.inc: Fix define_os ()
matrixssl_1.1.1: SRC_URI should point to new location
* Use PV in URL
* Bump PR
* Replace CGLAGS+ with CFLAGS_append
md5=0f867a7b5ce70650f36caf00c4941ebf
sha256=b46ade42d080851ba4c5a10d3c520eb169fc33ab5c259ee8ca147eff57741246
+[http://wiki.openembedded.org/dl/matrixssl-1-1-1.tar.gz]
+md5=0f867a7b5ce70650f36caf00c4941ebf
+sha256=b46ade42d080851ba4c5a10d3c520eb169fc33ab5c259ee8ca147eff57741246
+
[http://212.10.30.205/rc12/src/mb-applet-cards-1.0.2.tar.bz2]
md5=83661e2f9b67fd910f9ca0b1db06d9e8
sha256=52980096f4dbe5ea52a8c1bded74e7c657f934de5320da3f30cf7baf4274c749
def define_os (d):
import bb
- if bb.data.getVar('TARGET_OS', d).startswith('linux'):
+ if bb.data.getVar('TARGET_OS', d, 1).startswith('linux'):
return "-DLINUX"
return ""
DESCRIPTION = "A secure sockets library"
SECTION = "libs"
LICENSE = "GPL"
-
-SRC_URI = "http://openembedded.org/dl/matrixssl-1-1-1.tar.gz \
+PR = "r1"
+SRC_URI = "http://wiki.openembedded.org/dl/matrixssl-${PV}.tar.gz \
file://cross.patch;patch=1"
S = "${WORKDIR}/matrixssl/src"
require matrixssl.inc
-CFLAGS += " ${@define_os(d)}"
+
+CFLAGS_append = " ${@define_os(d)}"
do_install () {
install -d ${D}${includedir}