blob: c552c6a844e49df267baf20b509430f1bb2562b1 (
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-html-tableextract
_pkgreal=HTML-TableExtract
pkgver=2.13
pkgrel=0
pkgdesc="unknown"
url="http://search.cpan.org/dist/HTML-TableExtract/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends="perl-html-parser"
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/M/MS/MSISK/$_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="0d1d3f46a6a0336c5d20e61128e59cb6 HTML-TableExtract-2.13.tar.gz"
sha256sums="0a7d81a265d2d46aeeb277a9d7cd5f5e2c8e3765959b641252c8e0a175ad5106 HTML-TableExtract-2.13.tar.gz"
sha512sums="7a35952c37d6c2997e50901208cce06af97b597574f91a14d3e7700bef42df398721a6b42fe14bd3ed3733d248e80c2c8f0029c6e2caab4bc66a84474bdddf7c HTML-TableExtract-2.13.tar.gz"
|