summaryrefslogtreecommitdiffstats
path: root/testing/perl-cgi-session
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-07-28 13:45:16 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-07-28 13:45:16 +0000
commit8e928b24d0e04c0394297376538b42dd71abaf93 (patch)
tree6af17e59b862aed48aef04190500c9499cff231c /testing/perl-cgi-session
parent24710348a568f07bb1aab710f87732f54954658c (diff)
downloadaports-8e928b24d0e04c0394297376538b42dd71abaf93.tar.bz2
aports-8e928b24d0e04c0394297376538b42dd71abaf93.tar.xz
testing/perl-cgi-session: new aport
perl module for persistent session data in CGI applications http://search.cpan.org/~markstos/CGI-Session-4.42/
Diffstat (limited to 'testing/perl-cgi-session')
-rw-r--r--testing/perl-cgi-session/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/perl-cgi-session/APKBUILD b/testing/perl-cgi-session/APKBUILD
new file mode 100644
index 000000000..9fbe2d92d
--- /dev/null
+++ b/testing/perl-cgi-session/APKBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=perl-cgi-session
+_name=CGI-Session
+pkgver=4.42
+pkgrel=0
+pkgdesc="perl module for persistent session data in CGI applications"
+url="http://search.cpan.org/~markstos/CGI-Session-4.42/"
+license="PerlArtistic"
+depends="perl"
+makedepends="perl-dev"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/M/MA/MARKSTOS/CGI-Session-$pkgver.tar.gz"
+
+build () {
+ cd "$srcdir"/$_name-$pkgver
+ perl Makefile.PL INSTALLDIRS=vendor || return 1
+ make MAN1EXT=1p MAN3EXT=3pm || return 1
+}
+
+package() {
+ cd "$srcdir"/$_name-$pkgver
+ make install MAN1EXT=1p MAN3EXT=3pm DESTDIR="$pkgdir" || return 1
+ find "$pkgdir" -name perllocal.pod -delete
+ find "$pkgdir" -name .packlist -delete
+}
+md5sums="6544261a6aae66410188520b27e10699 CGI-Session-4.42.tar.gz"