blob: 62cd392007b406f05e3c489821d95341a5b1a264 (
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: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=perl-sys-syslog
_pkgreal=Sys-Syslog
pkgver=0.34
pkgrel=1
pkgdesc="Perl interface to the UNIX syslog(3) calls"
url="http://search.cpan.org/dist/Sys-Syslog/"
arch="all"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends="perl-test-pod perl-test-pod-coverage"
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/S/SA/SAPER/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
}
build() {
cd "$_builddir"
make && make test
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
md5sums="4aa75cf62ff697262105042f7b5f6c70 Sys-Syslog-0.34.tar.gz"
sha256sums="8d1e6d8cad3712ce7a7db71fa46d5cf59638f4e7452d12b54251c8ebc0fc9625 Sys-Syslog-0.34.tar.gz"
sha512sums="0ae3fe194f68ad1831c35d69f43d7446c3077a34444057788b221a96dd4ac1b14d3bb06ace83cbfcf5c1e7511ed8b7a410c7a2a9e1ae965420fd186fcc57db44 Sys-Syslog-0.34.tar.gz"
|