mirror of
https://gitdl.cn/https://github.com/chakralinux/lib32.git
synced 2025-01-23 17:33:34 +08:00
updated lib32-gnutls to version 2.12.7
This commit is contained in:
parent
3646c89a72
commit
2fd61d0e42
@ -5,18 +5,18 @@
|
|||||||
|
|
||||||
_pkgbasename=gnutls
|
_pkgbasename=gnutls
|
||||||
pkgname=lib32-$_pkgbasename
|
pkgname=lib32-$_pkgbasename
|
||||||
pkgver=2.8.6
|
pkgver=2.12.7
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="A library which provides a secure layer over a reliable transport layer (32-bit)"
|
pkgdesc="A library which provides a secure layer over a reliable transport layer (32-bit)"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
license=('GPL3' 'LGPL')
|
license=('GPL3' 'LGPL')
|
||||||
url="http://www.gnu.org/software/gnutls/"
|
url="http://www.gnu.org/software/gnutls/"
|
||||||
options=('libtool')
|
options=('!libtool')
|
||||||
# uses built-in libtasn1 for the moment
|
# uses built-in libtasn1 for the moment
|
||||||
depends=(lib32-{gcc-libs,readline,libgcrypt,zlib})
|
depends=(lib32-{gcc-libs,readline,libgcrypt,zlib})
|
||||||
makedepends=('gcc-multilib')
|
makedepends=('gcc-multilib')
|
||||||
source=(ftp://ftp.gnu.org/gnu/gnutls/${_pkgbasename}-${pkgver}.tar.bz2)
|
source=(ftp://ftp.gnu.org/gnu/gnutls/${_pkgbasename}-${pkgver}.tar.bz2)
|
||||||
md5sums=('eb0a6d7d3cb9ac684d971c14f9f6d3ba')
|
md5sums=('4b48aa3119f549d30d550bf4162c721b')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
export CC="gcc -m32"
|
export CC="gcc -m32"
|
||||||
@ -24,8 +24,12 @@ build() {
|
|||||||
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
|
||||||
|
|
||||||
cd ${srcdir}/${_pkgbasename}-${pkgver}
|
cd ${srcdir}/${_pkgbasename}-${pkgver}
|
||||||
./configure --prefix=/usr --libdir=/usr/lib32 \
|
./configure --prefix=/usr \
|
||||||
--with-zlib --disable-guile
|
--libdir=/usr/lib32 \
|
||||||
|
--with-zlib \
|
||||||
|
--with-libgcrypt \
|
||||||
|
--disable-static\
|
||||||
|
--disable-guile
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -34,4 +38,4 @@ package() {
|
|||||||
make DESTDIR="${pkgdir}" install
|
make DESTDIR="${pkgdir}" install
|
||||||
|
|
||||||
rm -rf "${pkgdir}"/usr/{bin,include,share}
|
rm -rf "${pkgdir}"/usr/{bin,include,share}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user