blob: 9d6c45fe3e86b3d51f99a80202351bf308d2b4fb (
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
42
|
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perl-parse-recdescent
_realname=Parse-RecDescent
pkgver=1.967015
pkgrel=1
pkgdesc="Generate Recursive-Descent Parsers"
url="http://search.cpan.org/~dconway/Parse-RecDescent-1.96.0/"
arch="noarch"
license="Artistic-Perl-1.0 GPL+"
depends="perl"
makedepends="perl-dev"
checkdepends="perl-test-pod perl-test-warn"
install=
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/J/JT/JTBRAUN/$_realname-$pkgver.tar.gz"
builddir="$srcdir/$_realname-$pkgver"
prepare() {
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
}
build() {
cd "$builddir"
export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
check() {
cd "$builddir"
make test
}
sha512sums="38adbfc9a88f09d0465d862b845f48c0921ce462ffccaa7ce8b5f1b7090f33f70e7f00f9ee787fd698b5539804412c44f03e7942cf675d53a17a84c3510e5aa4 Parse-RecDescent-1.967015.tar.gz"
|