blob: 882c736f33ea15c43124d1836c42f1de295f09b4 (
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
34
35
36
37
38
39
40
41
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=perl-devel-symdump
_pkgreal=Devel-Symdump
pkgver=2.14
pkgrel=0
pkgdesc="dump symbol names or the symbol table"
url="http://search.cpan.org/dist/Devel-Symdump/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/A/AN/ANDK/$_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="2d28b91792d0ef6bae2f75c4a635edee Devel-Symdump-2.14.tar.gz"
sha256sums="9b14fb22760e8f1292fdc52932b8dcc6abbd95a29f88d2e4faaf7add5ff71ede Devel-Symdump-2.14.tar.gz"
sha512sums="7323e60ec39a1b4e52c617b001a645521f4361510608b9cfb44e349f5bce7f50565c36467ef25e08bd2ab53fcfdc44b040e77d735064c1a25a863b5f3688d889 Devel-Symdump-2.14.tar.gz"
|