aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/perl-cgi-fast/APKBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/main/perl-cgi-fast/APKBUILD b/main/perl-cgi-fast/APKBUILD
new file mode 100644
index 0000000000..eecb84d39e
--- /dev/null
+++ b/main/perl-cgi-fast/APKBUILD
@@ -0,0 +1,42 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=perl-cgi-fast
+pkgver=2.09
+pkgrel=0
+pkgdesc="CGI Interface for Fast CGI"
+url="https://metacpan.org/release/CGI-Fast"
+arch="all"
+license="PerlArtistic GPL"
+depends="perl-cgi perl-fcgi"
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/L/LE/LEEJO/CGI-Fast-$pkgver.tar.gz"
+
+_builddir="$srcdir"/CGI-Fast-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="32d39d89a9ff3a596eb891e602a0f703 CGI-Fast-2.09.tar.gz"
+sha256sums="693871360517b5415bfb5e60db723ecab8b2930b22679aff82036cbba67c6eb9 CGI-Fast-2.09.tar.gz"
+sha512sums="f8681f5c2a78d070c0516c7f2f9485ca32f49ce4dd8b9d55a17c8d0e24cd8142d9a38e05e6a6e38c698c1e05cf412c6d3dcdabe61134782b369fee22bdebabaf CGI-Fast-2.09.tar.gz"