blob: d28132d83e79264e28591fd961793a157ecd2c67 (
plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Contributor: Jeff Bilyk<jbilyk at gmail>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mrtg
pkgver=2.17.4
pkgrel=4
pkgdesc="MRTG Network Latency Monitoring"
url="https://oss.oetiker.ch/mrtg/"
source="https://oss.oetiker.ch/mrtg/pub/$pkgname-$pkgver.tar.gz
mrtg.initd mrtg.confd"
subpackages="$pkgname-doc"
depends="perl"
makedepends="gd-dev libpng-dev zlib-dev"
arch="all"
license="GPL"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--bindir=/usr/bin \
--libdir=/usr/lib \
--datadir=/usr/share/doc \
--mandir=/usr/share/doc/man \
|| return 1
make
}
package() {
cd "$_builddir"
make install DESTDIR="$pkgdir"
}
md5sums="197565e97f97212eef7b414463c8d40c mrtg-2.17.4.tar.gz
1316b7deccc7240a4a37b5f734effe0c mrtg.initd
a8d246d324b90fd1e37cc912d4651372 mrtg.confd"
sha256sums="5efa7fae8040159208472e5f889be5b41d8c8a2ea6b31616f0f75cc7f48d2365 mrtg-2.17.4.tar.gz
d1c558ca256032872dce31651d86f359afd01a4975cc608940c9a0c5786ac73b mrtg.initd
fb929fd0e3658bc614f2ba51b9fba748050dbc76c0f1c0ac1bc233559bd2b4e7 mrtg.confd"
sha512sums="b15dac707e387714ba1a181c487894fcacbb9c2c1a1710475ebe86a11e30d758a4b44c139b42638de7fdef6616cf3112afc4e5a8c5fbf53718829673698ee110 mrtg-2.17.4.tar.gz
bafdee6845f9f38ca4e3a547ac74e4fdbe444f351f7548b894f2cd3ff39a8eb7d19558459d1c54f5d547e730b8d011e128331c4ec84a192f8ec1c7faa0b577a2 mrtg.initd
ee42805b0d3abb802e7e69d1544f2821223183aadf3a6009c9434e56054d9b0df579e83a9f6ab22afa65590f6d331daf49fb512ac2578e9f473b6d40382dd2b5 mrtg.confd"
|