aboutsummaryrefslogtreecommitdiffstats
path: root/community/perl-bit-vector/APKBUILD
blob: 740bde1c013cd87d6a101660cdc897471c1a3bc1 (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
# 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"