aboutsummaryrefslogtreecommitdiffstats
path: root/main/snmptt/APKBUILD
blob: 72c096703409362a65b49502e063cd9e12821256 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Jeff Bilyk <jbilyk at gmail> 
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=snmptt
pkgver=1.3
pkgrel=0
pkgdesc="Translates traps received from snmptrapd into easy to understand messages"
url="http://www.snmptt.org"
arch="all"
license="GPL"
depends=perl
makedepends=
install=
source="http://downloads.sourceforge.net/$pkgname/${pkgname}_$pkgver.tgz"

build() {
	return 0
}

package() {
	cd "$srcdir"/snmptt_${pkgver}
	mkdir -p "$pkgdir"/var/log/snmptt
	install -D -m755 snmptt "$pkgdir"/usr/bin/snmptt
	install -D -m755 snmptthandler "$pkgdir"/usr/bin/snmptthandler
	install -D -m755 snmpttconvert "$pkgdir"/usr/bin/snmpttconvert
	install -D -m755 snmpttconvertmib "$pkgdir"/usr/bin/snmpttconvertmib
	install -D -m644 snmptt.ini "$pkgdir"/etc/snmptt.ini
}

md5sums="ee8d8206d3e0d860fee126e09d8eb207  snmptt_1.3.tgz"