blob: 0d9a42882bf51de32a14668a8a6df704ca33847c (
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: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-data-dumper
_pkgreal=Data-Dumper
pkgver=2.154
pkgrel=1
pkgdesc="unknown"
url="http://search.cpan.org/dist/Data-Dumper/"
arch="all"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages=""
source="http://search.cpan.org/CPAN/authors/id/S/SM/SMUELLER/$_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="577b4d4e53d7609457d36d674b6169a7 Data-Dumper-2.154.tar.gz"
sha256sums="e30fcb6dea290cda85b67fc46d227a2ea890a8bd36c213557adec9c99ebd212f Data-Dumper-2.154.tar.gz"
sha512sums="b97cccaf3f4f5ad22019efc8a4f199ae5e08a6c5020cb99f7f2f38471a7cb6736b0a40ee46bd3e71f8096f861cd84b453351b3ef7529791c7013d97d69612f26 Data-Dumper-2.154.tar.gz"
|