From 31ce8b7aa97dc40acc0067792dcd2c86b27a13f2 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 10 Dec 2008 13:09:20 -0800 Subject: checksums.ini: Add checksum for matrixssl-1.1.1 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 --- packages/matrixssl/matrixssl.inc | 2 +- packages/matrixssl/matrixssl_1.1.1.bb | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'packages/matrixssl') diff --git a/packages/matrixssl/matrixssl.inc b/packages/matrixssl/matrixssl.inc index 5f6bf43a9e..bb6b8e0bdc 100644 --- a/packages/matrixssl/matrixssl.inc +++ b/packages/matrixssl/matrixssl.inc @@ -1,5 +1,5 @@ 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 "" diff --git a/packages/matrixssl/matrixssl_1.1.1.bb b/packages/matrixssl/matrixssl_1.1.1.bb index 09df504a8b..60f1bb423f 100644 --- a/packages/matrixssl/matrixssl_1.1.1.bb +++ b/packages/matrixssl/matrixssl_1.1.1.bb @@ -1,13 +1,14 @@ 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} -- cgit v1.2.3