mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-25 19:32:44 +01:00
testing/perl-crypt-cast5: new aport
This commit is contained in:
parent
08abeeaa61
commit
485ffed239
41
testing/perl-crypt-cast5/APKBUILD
Normal file
41
testing/perl-crypt-cast5/APKBUILD
Normal file
@ -0,0 +1,41 @@
|
||||
# Automatically generated by apkbuild-cpan, template 1
|
||||
# Contributor: Francesco Colista <francesco.colista@gmail.com>
|
||||
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
|
||||
pkgname=perl-crypt-cast5
|
||||
_pkgreal=Crypt-CAST5
|
||||
pkgver=0.05
|
||||
pkgrel=0
|
||||
pkgdesc="unknown"
|
||||
url="http://search.cpan.org/dist/Crypt-CAST5/"
|
||||
arch="all"
|
||||
license="GPL PerlArtistic"
|
||||
cpandepends=""
|
||||
cpanmakedepends=" "
|
||||
depends="$cpandepends"
|
||||
makedepends="perl-dev $cpanmakedepends"
|
||||
subpackages="$pkgname-doc"
|
||||
source="http://search.cpan.org/CPAN/authors/id/B/BO/BOBMATH/$_pkgreal-$pkgver.tar.gz"
|
||||
|
||||
_builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
prepare() {
|
||||
cd "$_builddir"
|
||||
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
|
||||
make && make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
md5sums="f4a876c68885950d5df3c30ede634787 Crypt-CAST5-0.05.tar.gz"
|
||||
sha256sums="9b51fc769c34ebb7b605927705af31af277e2532f0c03ed53755d064cdde1307 Crypt-CAST5-0.05.tar.gz"
|
||||
sha512sums="717e88f00211f2820a8a867a65ad7b563b6b3546c6399ca45393a31b253a8c75fb9a28d2d50eb79809b93c4745812181f2a12b371f3320c6467dcad21d92c994 Crypt-CAST5-0.05.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user