diff options
author | Andrew Manison <amanison@anselsystems.com> | 2010-08-04 23:22:29 +0000 |
---|---|---|
committer | Andrew Manison <amanison@anselsystems.com> | 2010-08-04 23:22:29 +0000 |
commit | e692c6d8a84c2f8424704824ee5a1f09b6d31fee (patch) | |
tree | 48963a89a34ffac54a41caea12d4fdf0435e5e8e /testing/perl-snmp-session/APKBUILD | |
parent | f3eb155dab5d8de075f99dee8bfe7a8bb750732c (diff) | |
parent | e5103dee420328c76983c537c09f956b7358af18 (diff) | |
download | aports-e692c6d8a84c2f8424704824ee5a1f09b6d31fee.tar.bz2 aports-e692c6d8a84c2f8424704824ee5a1f09b6d31fee.tar.xz |
Merge remote branch 'alpine/master'
Diffstat (limited to 'testing/perl-snmp-session/APKBUILD')
-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 0000000000..dc8572ff17 --- /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" |