mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
community/botan to 1.11.21-1
This commit is contained in:
parent
b3e73ae6c1
commit
5f8be8afc4
1 changed files with 11 additions and 9 deletions
|
@ -1,5 +1,5 @@
|
||||||
# $Id: PKGBUILD 87983 2013-04-09 20:48:46Z arodseth $
|
# $Id: PKGBUILD 87983 2013-04-09 20:48:46Z arodseth $
|
||||||
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
|
# Maintainer: Alexander F Rødseth <xyproto@archlinux.org>
|
||||||
# Contributor: Angel Velasquez <angvp@archlinux.org>
|
# Contributor: Angel Velasquez <angvp@archlinux.org>
|
||||||
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
|
# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
|
||||||
# Contributor: d'Ronin <daronin@2600.com>
|
# Contributor: d'Ronin <daronin@2600.com>
|
||||||
|
@ -11,18 +11,18 @@
|
||||||
# - AArch64 patch
|
# - AArch64 patch
|
||||||
|
|
||||||
pkgname=botan
|
pkgname=botan
|
||||||
pkgver=1.11.20
|
pkgver=1.11.21
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Crypto library written in C++'
|
pkgdesc='Crypto library written in C++'
|
||||||
license=('BSD')
|
license=('BSD')
|
||||||
arch=('x86_64' 'i686')
|
arch=('x86_64' 'i686')
|
||||||
url='http://botan.randombit.net/'
|
url='http://botan.randombit.net/'
|
||||||
depends=('gcc-libs' 'sh' 'asio')
|
depends=('gcc-libs' 'sh' 'asio')
|
||||||
makedepends=('python2' 'asio' 'git')
|
makedepends=('python' 'asio' 'git')
|
||||||
#source=("git://github.com/randombit/botan.git#commit=8e19ecf11c"
|
#source=("git://github.com/randombit/botan.git#commit=8e19ecf11c"
|
||||||
source=("http://botan.randombit.net/releases/Botan-${pkgver}.tgz"{,.asc}
|
source=("http://botan.randombit.net/releases/Botan-${pkgver}.tgz"{,.asc}
|
||||||
'0001-aarch64-support.patch')
|
'0001-aarch64-support.patch')
|
||||||
md5sums=('18dc2498cbcef88b553faca8eb5fac49'
|
md5sums=('f8cb3f2d112685550d88434210136a58'
|
||||||
'SKIP'
|
'SKIP'
|
||||||
'37165d2a365dd2e9d779b89fa55ba77b')
|
'37165d2a365dd2e9d779b89fa55ba77b')
|
||||||
# Botan Distribution Key. To import: gpg --import botan.key
|
# Botan Distribution Key. To import: gpg --import botan.key
|
||||||
|
@ -32,9 +32,6 @@ prepare() {
|
||||||
cd "${pkgname^}-$pkgver"
|
cd "${pkgname^}-$pkgver"
|
||||||
|
|
||||||
patch -p1 -i ../0001-aarch64-support.patch
|
patch -p1 -i ../0001-aarch64-support.patch
|
||||||
|
|
||||||
# Use python2 for the installation scripts
|
|
||||||
find src/scripts -name '*.py' -exec sed -i -e '1s,python$,python2,' {} +
|
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
@ -52,15 +49,20 @@ build() {
|
||||||
CPU='arm/armv5te'
|
CPU='arm/armv5te'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
python2 configure.py \
|
python configure.py \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--enable-modules=cvc \
|
|
||||||
--destdir="$pkgdir/usr" \
|
--destdir="$pkgdir/usr" \
|
||||||
--cpu=$CPU
|
--cpu=$CPU
|
||||||
|
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "${pkgname^}-$pkgver"
|
||||||
|
|
||||||
|
./botan-test
|
||||||
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${pkgname^}-$pkgver"
|
cd "${pkgname^}-$pkgver"
|
||||||
make DESTDIR="$pkgdir/usr" install
|
make DESTDIR="$pkgdir/usr" install
|
||||||
|
|
Loading…
Reference in a new issue