mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 19:07:13 +08:00
35 lines
811 B
Bash
35 lines
811 B
Bash
# Platform packages for Chakra
|
|
|
|
pkgname=perl-crypt-openssl-bignum
|
|
pkgver=0.04
|
|
pkgrel=1
|
|
pkgdesc="OpenSSL's multiprecision integer arithmetic "
|
|
arch=('i686' 'x86_64')
|
|
url="http://search.cpan.org/dist/Crypt-OpenSSL-Bignum"
|
|
depends=('perl' 'openssl')
|
|
license=('GPL')
|
|
options=('!emptydirs')
|
|
source=(http://www.cpan.org/authors/id/I/IR/IROBERTS/Crypt-OpenSSL-Bignum-$pkgver.tar.gz)
|
|
md5sums=('9369ef722b0705c0604998559988eb18')
|
|
|
|
build() {
|
|
cd "$srcdir/Crypt-OpenSSL-Bignum-$pkgver"
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
}
|
|
|
|
|
|
check() {
|
|
cd "$srcdir/Crypt-OpenSSL-Bignum-$pkgver"
|
|
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/Crypt-OpenSSL-Bignum-$pkgver"
|
|
|
|
make pure_install doc_install DESTDIR="$pkgdir"
|
|
find "$pkgdir" -name '.packlist' -delete
|
|
find "$pkgdir" -name '*.pod' -delete
|
|
}
|