diff options
Diffstat (limited to 'community/perl-bit-vector/APKBUILD')
-rw-r--r-- | community/perl-bit-vector/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/perl-bit-vector/APKBUILD b/community/perl-bit-vector/APKBUILD new file mode 100644 index 0000000000..740bde1c01 --- /dev/null +++ b/community/perl-bit-vector/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Stuart Cardall <developer@it-offshore.co.uk> +pkgname=perl-bit-vector +_realname=Bit-Vector +pkgver=7.4 +pkgrel=1 +pkgdesc="Efficient bit vector, set of integers, and big int math library" +url="http://search.cpan.org/dist/Bit-Vector/" +arch="all" +license="PerlArtistic" +depends="perl perl-carp-clan" +depends_dev="" +makedepends="perl-dev perl-carp-clan" +install="" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/$_realname-$pkgver.tar.gz" +_builddir="$srcdir"/$_realname-$pkgver + +build() { + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +md5sums="bf67f144e5be5327ed79d4c69e6e0086 Bit-Vector-7.4.tar.gz" +sha256sums="3c6daa671fecfbc35f92a9385b563d65f50dfc6bdc8b4805f9ef46c0d035a926 Bit-Vector-7.4.tar.gz" +sha512sums="80aa49aea8c31c60c14161198eab9d620d738530c3c209104b8ad8f1144822f80c3effb3303c569fc556b2457328659ae5d1aaf511d714c835618b84c722abc5 Bit-Vector-7.4.tar.gz" |