openssl: Convert to use do_install for staging

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2009-11-17 12:17:43 +00:00
parent 6a54171997
commit ed0a52a8e5
3 changed files with 6 additions and 19 deletions

View File

@ -1,4 +1,4 @@
inherit pkgconfig native pkgconfig_stage
inherit native
require openssl.inc
@ -12,11 +12,3 @@ SRC_URI += "file://debian.patch;patch=1 \
file://configure-targets.patch;patch=1 \
file://shared-libs.patch;patch=1"
PARALLEL_MAKE = ""
FILESPATH = "${@base_set_filespath( ['${FILE_DIRNAME}/openssl-${PV}', '${FILE_DIRNAME}/openssl', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}"
do_install() {
:
}

View File

@ -18,6 +18,10 @@ export DIRS = "crypto ssl apps"
export EX_LIBS = "-lgcc -ldl"
export AS = "${CC} -c"
PARALLEL_MAKE = ""
inherit pkgconfig
PACKAGES =+ "libcrypto libssl"
FILES_libcrypto = "${libdir}/libcrypto.so.*"
FILES_libssl = "${libdir}/libssl.so.*"
@ -80,12 +84,7 @@ do_compile () {
oe_runmake
}
do_stage () {
cp --dereference -R include/openssl ${STAGING_INCDIR}/
oe_libinstall -a -so libcrypto ${STAGING_LIBDIR}
oe_libinstall -a -so libssl ${STAGING_LIBDIR}
}
NATIVE_INSTALL_WORKS = "1"
do_install () {
install -m 0755 -d ${D}${libdir}/pkgconfig
oe_runmake INSTALL_PREFIX="${D}" install

View File

@ -1,5 +1,3 @@
inherit pkgconfig pkgconfig_stage
require openssl.inc
PR = "r10"
@ -7,5 +5,3 @@ PR = "r10"
SRC_URI += "file://debian.patch;patch=1 \
file://configure-targets.patch;patch=1 \
file://shared-libs.patch;patch=1"
PARALLEL_MAKE = ""