mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
core/nettle to 3.1-1
This commit is contained in:
parent
e2e6bcc840
commit
79765b59de
1 changed files with 7 additions and 8 deletions
|
@ -6,7 +6,7 @@
|
||||||
# - disable neon, assembler
|
# - disable neon, assembler
|
||||||
|
|
||||||
pkgname=nettle
|
pkgname=nettle
|
||||||
pkgver=2.7.1
|
pkgver=3.1
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="A low-level cryptographic library"
|
pkgdesc="A low-level cryptographic library"
|
||||||
arch=('i686' 'x86_64')
|
arch=('i686' 'x86_64')
|
||||||
|
@ -14,13 +14,15 @@ url="http://www.lysator.liu.se/~nisse/nettle/"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
install=$pkgname.install
|
install=$pkgname.install
|
||||||
depends=('gmp')
|
depends=('gmp')
|
||||||
source=(http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
|
source=(https://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz{,.sig})
|
||||||
md5sums=('003d5147911317931dd453520eb234a5')
|
md5sums=('075a3699cbab48ffa2ea6f9aad91e123'
|
||||||
|
'SKIP')
|
||||||
|
validpgpkeys=('343C2FF0FBEE5EC2EDBEF399F3599FF828C67298') # Niels Möller <nisse@lysator.liu.se>
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
./configure --prefix=/usr --libdir=/usr/lib \
|
./configure --prefix=/usr \
|
||||||
--enable-shared --disable-arm-neon --disable-assembler
|
--disable-static --disable-arm-neon --disable-assembler
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -32,7 +34,4 @@ check() {
|
||||||
package() {
|
package() {
|
||||||
cd "$srcdir/$pkgname-$pkgver"
|
cd "$srcdir/$pkgname-$pkgver"
|
||||||
make DESTDIR="$pkgdir/" install
|
make DESTDIR="$pkgdir/" install
|
||||||
|
|
||||||
# remove static libs #--disable-static - build would break (since nettle 2.6) - and had no effect before
|
|
||||||
rm -f ${pkgdir}/usr/lib/{libhogweed,libnettle}.a
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue