blob: f30b871f868ee39e74a5489fbde69486f5e3870b (
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.145
pkgrel=0
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="b773c875afcca866faf8481adc3464b0 Data-Dumper-2.145.tar.gz"
sha256sums="04453fcd77e89c293212d7b21a507594014335ad98c6af9e41b995dbc5450e18 Data-Dumper-2.145.tar.gz"
sha512sums="2073cb5ffa95a4fd7682faf83b51caacf97d8a77cf90b409a4bc2c1f58605a8e2fe2181b0e5541fb7bb84a57460b62d01f2655b775b00a1b788aba8d9d1c6c60 Data-Dumper-2.145.tar.gz"
|