aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-crypt-eksblowfish/APKBUILD
blob: 98b85a593b3ef50d8e5f4b3cec402069d2067459 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-crypt-eksblowfish
_pkgreal=Crypt-Eksblowfish
pkgver=0.009
pkgrel=0
pkgdesc="the Eksblowfish block cipher"
url="http://search.cpan.org/dist/Crypt-Eksblowfish/"
arch="all"
license="GPL PerlArtistic"
cpandepends="perl-class-mix"
cpanmakedepends="   "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/Z/ZE/ZEFRAM/$_pkgreal-$pkgver.tar.gz"

_builddir="$srcdir/$_pkgreal-$pkgver"

prepare() {
	cd "$_builddir"
	export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
	perl Build.PL installdirs=vendor || return 1
}

build() {
	cd "$_builddir"
	export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
	./Build && ./Build test
}

package() {
	cd "$_builddir"
	./Build install destdir="$pkgdir" || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

md5sums="d2907b00cc500fc523bf86bb427d9bb8  Crypt-Eksblowfish-0.009.tar.gz"
sha256sums="3cc7126d5841107237a9be2dc5c7fbc167cf3c4b4ce34678a8448b850757014c  Crypt-Eksblowfish-0.009.tar.gz"
sha512sums="ca66a1ca4fd71388f25dc77c943e2416ed8534576309dd75f19a7219457418140c1bd21887d61918c34d3d6f9e11ea822b4661d30c6edf7f3673bbcd9a00a51b  Crypt-Eksblowfish-0.009.tar.gz"