# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
setvar pkgname = 'perl-bit-vector'
setvar _realname = 'Bit-Vector'
setvar pkgver = '7.4'
setvar pkgrel = '2'
setvar pkgdesc = ""Efficient bit vector, set of integers, and big int math library""
setvar url = ""http://search.cpan.org/dist/Bit-Vector/""
setvar arch = ""all""
setvar license = ""PerlArtistic""
setvar depends = ""perl perl-carp-clan""
setvar depends_dev = """"
setvar makedepends = ""perl-dev perl-carp-clan""
setvar install = """"
setvar subpackages = ""$pkgname-doc""
setvar source = ""http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/$_realname-$pkgver.tar.gz""
setvar _builddir = ""$srcdir"/$_realname-$pkgver"

proc build {
	cd $_builddir'
	PERL_MM_USE_DEFAULT=1' perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
}

proc package {
	cd $_builddir
	make DESTDIR="$pkgdir" install || return 1
	find $pkgdir '(' -name perllocal.pod -o -name .packlist ')' -delete
}

setvar md5sums = ""bf67f144e5be5327ed79d4c69e6e0086  Bit-Vector-7.4.tar.gz""
setvar sha256sums = ""3c6daa671fecfbc35f92a9385b563d65f50dfc6bdc8b4805f9ef46c0d035a926  Bit-Vector-7.4.tar.gz""
setvar sha512sums = ""80aa49aea8c31c60c14161198eab9d620d738530c3c209104b8ad8f1144822f80c3effb3303c569fc556b2457328659ae5d1aaf511d714c835618b84c722abc5  Bit-Vector-7.4.tar.gz""