# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
setvar pkgname = 'perl-authen-ntlm'
setvar pkgver = '1.09'
setvar _realname = "NTLM-$pkgver"
setvar pkgrel = '0'
setvar pkgdesc = ""NTLM authentication for Mail::IMAPClient""
setvar url = ""http://search.cpan.org/dist/NTLM/""
setvar arch = ""noarch""
setvar license = ""GPL PerlArtistic""
setvar cpandepends = """"
setvar cpanmakedepends = """"
setvar depends = "$cpandepends"
setvar makedepends = ""perl-dev $cpanmakedepends""
setvar subpackages = ""$pkgname-doc""
setvar source = ""http://search.cpan.org/CPAN/authors/id/N/NB/NBEBOUT/$_realname.tar.gz""

setvar _builddir = ""$srcdir"/$_realname"

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 = ""da314ee94b14af2a2f39b6f2c0046e73  NTLM-1.09.tar.gz""
setvar sha256sums = ""c823e30cda76bc15636e584302c960e2b5eeef9517c2448f7454498893151f85  NTLM-1.09.tar.gz""
setvar sha512sums = ""faae9a4a39f483a9612e5a7daec15bb8ddd940ccc73e52372dd004a9067336fccc4c490deafb3eaa0cf56c0dfe3a085cb6bba38631a5122c2f2fa6e960845039  NTLM-1.09.tar.gz""