gnutls: Convert to autotools_stage
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
c0a972e4fe
commit
31ad2cf87b
|
@ -6,21 +6,10 @@ LICENSE = "LGPL"
|
||||||
|
|
||||||
SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/gnutls-${PV}.tar.bz2"
|
SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/gnutls-${PV}.tar.bz2"
|
||||||
|
|
||||||
inherit autotools binconfig pkgconfig pkgconfig_stage
|
inherit autotools_stage binconfig pkgconfig pkgconfig
|
||||||
|
|
||||||
EXTRA_OECONF="--with-included-opencdk --with-included-libtasn1 --with-included-libcfg --with-libz-prefix=${STAGING_DIR_HOST}${prefix} --with-lzo --disable-guile"
|
EXTRA_OECONF="--with-included-opencdk --with-included-libtasn1 --with-included-libcfg --with-libz-prefix=${STAGING_DIR_HOST}${prefix} --with-lzo --disable-guile"
|
||||||
|
|
||||||
do_stage() {
|
|
||||||
oe_libinstall -C lib/.libs -so -a libgnutls ${STAGING_LIBDIR}
|
|
||||||
oe_libinstall -C libextra/.libs -so -a libgnutls-extra ${STAGING_LIBDIR}
|
|
||||||
oe_libinstall -C libextra/.libs -so -a libgnutls-openssl ${STAGING_LIBDIR}
|
|
||||||
autotools_stage_includes
|
|
||||||
|
|
||||||
install -d ${STAGING_DATADIR}/aclocal
|
|
||||||
cp ${S}/lib/libgnutls.m4 ${STAGING_DATADIR}/aclocal/
|
|
||||||
cp ${S}/libextra/libgnutls-extra.m4 ${STAGING_DATADIR}/aclocal/
|
|
||||||
}
|
|
||||||
|
|
||||||
PACKAGES =+ "${PN}-openssl ${PN}-extra ${PN}-bin ${PN}-xx"
|
PACKAGES =+ "${PN}-openssl ${PN}-extra ${PN}-bin ${PN}-xx"
|
||||||
|
|
||||||
FILES_${PN} = "${libdir}/libgnutls.so.*"
|
FILES_${PN} = "${libdir}/libgnutls.so.*"
|
||||||
|
|
Loading…
Reference in New Issue