mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
community/perl-crypt-openssl-dsa: modernize and add package description
This commit is contained in:
parent
b7604327e7
commit
f8a9562ffc
@ -4,38 +4,41 @@
|
|||||||
pkgname=perl-crypt-openssl-dsa
|
pkgname=perl-crypt-openssl-dsa
|
||||||
_pkgreal=Crypt-OpenSSL-DSA
|
_pkgreal=Crypt-OpenSSL-DSA
|
||||||
pkgver=0.17
|
pkgver=0.17
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc="unknown"
|
pkgdesc="Digital Signature Algorithm using OpenSSL"
|
||||||
url="http://search.cpan.org/dist/Crypt-OpenSSL-DSA/"
|
url="http://search.cpan.org/dist/Crypt-OpenSSL-DSA/"
|
||||||
arch="all"
|
arch="all"
|
||||||
license="GPL PerlArtistic"
|
license="GPL PerlArtistic"
|
||||||
cpandepends=""
|
cpandepends=""
|
||||||
cpanmakedepends=" "
|
cpanmakedepends=""
|
||||||
depends="$cpandepends"
|
depends="$cpandepends"
|
||||||
makedepends="perl-dev libressl-dev $cpanmakedepends"
|
makedepends="perl-dev libressl-dev $cpanmakedepends"
|
||||||
subpackages="$pkgname-doc"
|
subpackages="$pkgname-doc"
|
||||||
source="http://search.cpan.org/CPAN/authors/id/K/KM/KMX/$_pkgreal-$pkgver.tar.gz"
|
source="http://search.cpan.org/CPAN/authors/id/K/KM/KMX/$_pkgreal-$pkgver.tar.gz"
|
||||||
|
|
||||||
_builddir="$srcdir/$_pkgreal-$pkgver"
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "$_builddir"
|
cd "$builddir"
|
||||||
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
||||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$_builddir"
|
cd "$builddir"
|
||||||
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
||||||
make && make test
|
make
|
||||||
|
}
|
||||||
|
|
||||||
|
check() {
|
||||||
|
cd "$builddir"
|
||||||
|
make test
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$_builddir"
|
cd "$builddir"
|
||||||
make DESTDIR="$pkgdir" install || return 1
|
make DESTDIR="$pkgdir" install
|
||||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||||
}
|
}
|
||||||
|
|
||||||
md5sums="36670ab60cede9908d6e1d8f051365e7 Crypt-OpenSSL-DSA-0.17.tar.gz"
|
|
||||||
sha256sums="0cde79ebca56a6ad36f18d994063bf9f7898216a5833af543f04522bb0b4d73e Crypt-OpenSSL-DSA-0.17.tar.gz"
|
|
||||||
sha512sums="9d4c634ccad1cef7012e2defca3793f8f516a321fdd848acde458c0b352f932c8e4bc61b4e0e977453dbe6cab87284c3ea42c33bc33f7a17a5bddd12f2eaaf5a Crypt-OpenSSL-DSA-0.17.tar.gz"
|
sha512sums="9d4c634ccad1cef7012e2defca3793f8f516a321fdd848acde458c0b352f932c8e4bc61b4e0e977453dbe6cab87284c3ea42c33bc33f7a17a5bddd12f2eaaf5a Crypt-OpenSSL-DSA-0.17.tar.gz"
|
||||||
|
Loading…
Reference in New Issue
Block a user