aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-snmp-session
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-12-15 13:22:22 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-15 13:22:22 +0000
commit07f10cea7c5ec14e9ddc18575d4a2f2aeea74f0a (patch)
treef3df1a0dde87e00d73c2ac590d53deb7320e8e98 /main/perl-snmp-session
parent97f4cd5bb2ebcbc3b6703e2b92d0746255896caf (diff)
downloadaports-07f10cea7c5ec14e9ddc18575d4a2f2aeea74f0a.tar.bz2
aports-07f10cea7c5ec14e9ddc18575d4a2f2aeea74f0a.tar.xz
main/per-snmp-session: moved from testing
Diffstat (limited to 'main/perl-snmp-session')
-rw-r--r--main/perl-snmp-session/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/main/perl-snmp-session/APKBUILD b/main/perl-snmp-session/APKBUILD
new file mode 100644
index 0000000000..67d2383c10
--- /dev/null
+++ b/main/perl-snmp-session/APKBUILD
@@ -0,0 +1,26 @@
+# 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/"
+arch="x86 x86_64"
+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"