mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
testing/perl-html-form: new aport
This commit is contained in:
parent
9c0b670e37
commit
bde2674588
1 changed files with 37 additions and 0 deletions
37
testing/perl-html-form/APKBUILD
Normal file
37
testing/perl-html-form/APKBUILD
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Automatically generated by apkbuild-cpan, template 2
|
||||
# Contributor: Timothy Legge <timlegge@gmail.com>
|
||||
# Maintainer: Timothy Legge <timlegge@gmail.com>
|
||||
pkgname=perl-html-form
|
||||
_pkgreal=HTML-Form
|
||||
pkgver=6.04
|
||||
pkgrel=0
|
||||
pkgdesc="Class that represents an HTML form element"
|
||||
url="https://metacpan.org/release/HTML-Form/"
|
||||
arch="noarch"
|
||||
license="GPL PerlArtistic"
|
||||
cpandepends="perl-uri perl-html-parser perl-http-message"
|
||||
cpancheckdepends="perl-http-message"
|
||||
depends="$cpandepends"
|
||||
makedepends="perl-dev"
|
||||
checkdepends="$cpancheckdepends"
|
||||
subpackages="$pkgname-doc"
|
||||
source="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTML-Form-$pkgver.tar.gz"
|
||||
builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
build() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
PERL_MM_USE_DEFAULT=1 perl -I. Makefile.PL INSTALLDIRS=vendor
|
||||
make
|
||||
}
|
||||
|
||||
check() {
|
||||
export CFLAGS=$(perl -MConfig -E 'say $Config{ccflags}')
|
||||
make test
|
||||
}
|
||||
|
||||
package() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
sha512sums="d9ab1e2673db1cad53092b91defe7ac2c3e49b49c5f8843e0d699a8d8261b64961c424e17aec09cb641c124cdab9b86e55ba88e671c522f77bfea0b6629a9e62 HTML-Form-6.04.tar.gz"
|
Loading…
Add table
Add a link
Reference in a new issue