blob: 6a60ed1cb9b416ccfe15209371c0bd4abefce6ad (
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
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Nathan Johnson <nathan@nathanjohnson.info>
# Maintainer: Nathan Johnson <nathan@nathanjohnson.info>
pkgname=perl-couchbase
_pkgreal=Couchbase
pkgver=2.0.3
pkgrel=8
pkgdesc="Couchbase Client Library"
url="https://metacpan.org/release/Couchbase"
arch="all"
license="GPL-1.0-or-later OR Artistic-1.0-Perl"
cpandepends="perl-constant-generate perl-uri perl-class-xsaccessor perl-json-maybexs"
cpanmakedepends="perl-log-fu perl-test-class perl-dir-self"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends libcouchbase-dev"
subpackages="$pkgname-doc"
source="https://cpan.metacpan.org/authors/id/M/MN/MNUNBERG/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
make
}
check() {
make test
}
package() {
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
sha512sums="5d4fd37c828f8ddfa918ac30f50570b25fa6393fbb1b44527bc10a49e02fcc2a3a3fff4f687c33245bf5504fbc7392920f43b61946212ef27ec05e6c06f4e888 Couchbase-2.0.3.tar.gz"
|