diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-15 13:21:15 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-15 13:21:15 +0000 |
commit | 97f4cd5bb2ebcbc3b6703e2b92d0746255896caf (patch) | |
tree | 034feb4e82142048a9b420ae69ee9717a76cde78 /main/perl-cgi-session/APKBUILD | |
parent | af4425c0331836ad3547576a018fd5f4a677d949 (diff) | |
download | aports-97f4cd5bb2ebcbc3b6703e2b92d0746255896caf.tar.bz2 aports-97f4cd5bb2ebcbc3b6703e2b92d0746255896caf.tar.xz |
main/perl-cgi-session: moved from testing
needed by smokeping
Diffstat (limited to 'main/perl-cgi-session/APKBUILD')
-rw-r--r-- | main/perl-cgi-session/APKBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/main/perl-cgi-session/APKBUILD b/main/perl-cgi-session/APKBUILD new file mode 100644 index 0000000000..d4cf621da0 --- /dev/null +++ b/main/perl-cgi-session/APKBUILD @@ -0,0 +1,27 @@ +# 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/" +arch="x86 x86_64" +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" |