aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-want/APKBUILD
blob: b1ed7c0bdce6a38b60bb492c945552f49a657e93 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                      


                                                    
             
           
        
                 

                                       




                                       
                          


                                                                                   
 
           
                       

                                                                 



                       

                                                               







                                                                           


                                                                                                                                                               
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-want
_pkgreal=Want
pkgver=0.29
pkgrel=0
pkgdesc="unknown"
url="http://search.cpan.org/dist/Want/"
arch="all"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="   "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/R/RO/ROBIN/$_pkgreal-$pkgver.tar.gz"

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

prepare() {
	cd "$_builddir"
	export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}

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

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

md5sums="33b2dae5db59781b9a0434fa1db04aab  Want-0.29.tar.gz"
sha256sums="b4e4740b8d4cb783591273c636bd68304892e28d89e88abf9273b1de17f552f7  Want-0.29.tar.gz"
sha512sums="08df985de16b5e9dd67d6ed38d319da2511e92098f95a861a5a695eed8d77eaf412671b626e4da29b536147ad4da4a8cfdfd789ef204dac240073091481f3c1a  Want-0.29.tar.gz"