gnutls: fix build, build lib and libextra seperate, dont build openssl compat support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-01-06 20:23:55 +01:00
parent ccdabee30e
commit 448a87cacd
2 changed files with 23 additions and 12 deletions

View File

@ -7,7 +7,7 @@
cd $PKG_BUILD cd $PKG_BUILD
ac_cv_libz=yes \ cd lib
./configure --host=$TARGET_NAME \ ./configure --host=$TARGET_NAME \
--build=$HOST_NAME \ --build=$HOST_NAME \
--prefix=/usr \ --prefix=/usr \
@ -15,18 +15,10 @@ ac_cv_libz=yes \
--localstatedir=/var \ --localstatedir=/var \
--disable-static \ --disable-static \
--enable-shared \ --enable-shared \
--enable-cxx \
--enable-openssl-compatibility \
--disable-guile \
--with-included-opencdk \
--with-included-libtasn1 \ --with-included-libtasn1 \
--with-lzo \ --with-lzo \
--with-included-libcfg \ --with-libz-prefix="$SYSROOT_PREFIX/usr" \
--without-libreadline-prefix \
--with-libgcrypt-prefix="$SYSROOT_PREFIX/usr" \ --with-libgcrypt-prefix="$SYSROOT_PREFIX/usr" \
--disable-gtk-doc \
--disable-gtk-doc-html \
--disable-gtk-doc-pdf \
--disable-nls \ --disable-nls \
--with-gnu-ld --with-gnu-ld
@ -34,3 +26,22 @@ ac_cv_libz=yes \
make make
$MAKEINSTALL $MAKEINSTALL
cd ../libextra
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--enable-shared \
--with-included-libtasn1 \
--with-lzo \
--with-libgcrypt-prefix="$SYSROOT_PREFIX/usr" \
--with-gnu-ld
# --enable-openssl-compatibility \
# --enable-cryptodev \ # TODO: add later
make
$MAKEINSTALL

View File

@ -5,8 +5,8 @@ PKG_ARCH="any"
PKG_LICENSE="LGPL" PKG_LICENSE="LGPL"
PKG_SITE="http://www.gnutls.org/" PKG_SITE="http://www.gnutls.org/"
PKG_URL="ftp://ftp.gnutls.org/pub/gnutls/$PKG_NAME-$PKG_VERSION.tar.bz2" PKG_URL="ftp://ftp.gnutls.org/pub/gnutls/$PKG_NAME-$PKG_VERSION.tar.bz2"
PKG_DEPENDS="zlib libgcrypt" PKG_DEPENDS="zlib lzo libgcrypt"
PKG_BUILD_DEPENDS="toolchain zlib libgcrypt" PKG_BUILD_DEPENDS="toolchain zlib lzo libgcrypt"
PKG_PRIORITY="optional" PKG_PRIORITY="optional"
PKG_SECTION="security" PKG_SECTION="security"
PKG_SHORTDESC="gnutls: Development Library for TLS applications" PKG_SHORTDESC="gnutls: Development Library for TLS applications"