diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-07-28 13:44:32 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-07-28 13:44:32 +0000 |
commit | 24710348a568f07bb1aab710f87732f54954658c (patch) | |
tree | b53bcbdabd7c7ed992d87356426e478bb858d537 /testing | |
parent | 390e45e6bad74946c1aaf87fa7ad180b434b05b9 (diff) | |
download | aports-24710348a568f07bb1aab710f87732f54954658c.tar.bz2 aports-24710348a568f07bb1aab710f87732f54954658c.tar.xz |
testing/perl-snmp-session: new aport
A SNMP Perl Module
http://code.google.com/p/snmp-session/
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perl-snmp-session/APKBUILD | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/perl-snmp-session/APKBUILD b/testing/perl-snmp-session/APKBUILD new file mode 100644 index 000000000..dc8572ff1 --- /dev/null +++ b/testing/perl-snmp-session/APKBUILD @@ -0,0 +1,25 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=perl-snmp-session +_name=SNMP_Session +pkgver=1.13 +pkgrel=0 +pkgdesc="A SNMP Perl Module" +url="http://code.google.com/p/snmp-session/" +license="PerlArtistic" +depends="perl" +makedepends="perl-dev" +source="http://snmp-session.googlecode.com/files/$_name-$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="055e1065babf55f1f8606329c6bdb947 SNMP_Session-1.13.tar.gz" |