diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-07-17 09:22:09 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-07-17 09:23:09 +0300 |
commit | 76e65a313811660df1eed06cbea1ed44b00adee5 (patch) | |
tree | eefce2db91119b080b0941c89bc243166047c72d | |
parent | 4ffd5cc0e7165d6d9733d74d67da6ff78f527907 (diff) | |
download | aports-76e65a313811660df1eed06cbea1ed44b00adee5.tar.bz2 aports-76e65a313811660df1eed06cbea1ed44b00adee5.tar.xz |
main/perl-cgi: new aport
Perl module for CGI (split out from perl-5.20 core)
http://search.cpan.org/dist/CGI/
-rw-r--r-- | main/perl-cgi/APKBUILD | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/main/perl-cgi/APKBUILD b/main/perl-cgi/APKBUILD new file mode 100644 index 0000000000..d795c51375 --- /dev/null +++ b/main/perl-cgi/APKBUILD @@ -0,0 +1,40 @@ +# Automatically generated by apkbuild-cpan, template 1 +# Contributor: Timo Teräs <timo.teras@iki.fi> +# Maintainer: Timo Teräs <timo.teras@iki.fi> +pkgname=perl-cgi +_pkgreal=CGI.pm +pkgver=4.03 +pkgrel=0 +pkgdesc="Perl module for CGI" +url="http://search.cpan.org/dist/CGI/" +arch="noarch" +license="GPL PerlArtistic" +cpandepends="" +cpanmakedepends="" +depends="$cpandepends" +makedepends="perl-dev $cpanmakedepends" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/$_pkgreal-$pkgver.tar.gz" + +_builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$_builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 +} + +build() { + cd "$_builddir" + make && make test +} + +package() { + cd "$_builddir" + make install DESTDIR="$pkgdir" || return 1 + find "$pkgdir" -name perllocal.pod -delete + find "$pkgdir" -name .packlist -delete +} + +md5sums="265c8133a02e194d3189573835de51f4 CGI.pm-4.03.tar.gz" +sha256sums="b89e1e047f627bbad90221b9d689c423b2c4251ea65d0574849c89a355feec28 CGI.pm-4.03.tar.gz" +sha512sums="e064d5d40cf284347454774b2bcadd54d39fa1433be0d619d18067e614f8570e072f1995206e9233f1b5a4a3e61fb0748aefc0d535fd89355d4afb8bc0bd879c CGI.pm-4.03.tar.gz" |