aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-extutils-cchecker/APKBUILD
blob: f9e20cd0a99ff360aa9b4df576b39a41439dfd0b (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
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer:
pkgname=perl-extutils-cchecker
_pkgreal=ExtUtils-CChecker
pkgver=0.09
pkgrel=0
pkgdesc="Perl module configuration-time utilities for using C headers, libraries, or OS features"
url="http://search.cpan.org/dist/ExtUtils-CChecker/"
arch="noarch"
license="GPL PerlArtistic"
depends="perl-test-exception"
makedepends="perl-dev"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PE/PEVANS/$_pkgreal-$pkgver.tar.gz"

_builddir="$srcdir/$_pkgreal-$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 .packlist -name perllocal.pod -delete
}

md5sums="2c7b30a367fc67851be44f9b4c98b652  ExtUtils-CChecker-0.09.tar.gz"
sha256sums="ebf167e3f98b4b1ff8e7a5e98d084558b87d0b19442f5da33233ef6b2eb66ad7  ExtUtils-CChecker-0.09.tar.gz"
sha512sums="51068985b7c62af407a600dc665031966abf45775ac1e4ce97d49474af070df86622db47a1248aaa8f89e3544f4937665287162cf3f80cbc930bf56d57d8d6b3  ExtUtils-CChecker-0.09.tar.gz"