blob: 9034ef1e23ec6ad3dfc33cef6ac5c08a6d4d6fbe (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor:
# Maintainer:
pkgname=perl-dbm-deep
_pkgreal=DBM-Deep
pkgver=2.0012
pkgrel=0
pkgdesc="Perl module for DBM-Deep"
url="http://search.cpan.org/dist/DBM-Deep/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="perl-module-build perl-test-deep perl-test-exception perl-test-warn"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/R/RK/RKINYON/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
}
build() {
cd "$_builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="da911dada2c978ea6bd4d1bac4b4ba46 DBM-Deep-2.0012.tar.gz"
sha256sums="737f06debe60aa9642ba072335f8d8bdf1afd78bde5c4fedfb0453f70a94beed DBM-Deep-2.0012.tar.gz"
sha512sums="6a57a3c819493b9b1f3276aa72e8508c6080e9ac07a3543cf4948de98a9f7946b09489d2f00aa0b2f2511858d00bdae0bc6922464d6bced1703749ef7beb3cfd DBM-Deep-2.0012.tar.gz"
|