aboutsummaryrefslogblamecommitdiffstats
path: root/main/mrtg/APKBUILD
blob: 9f15adb51820b1f97b34c18b8192aac857195d0c (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                   
             
        
                                         
                                  

                          

                                        


                                                           

         
                     


                                   
                                   
                                          

                                           


           
                                      

 

                                                                                                                                                    
                                                                                                                                            

                                                                                                                                            
# Contributor: Jeff Bilyk<jbilyk at gmail>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mrtg
pkgver=2.17.8
pkgrel=0
pkgdesc="MRTG Network Latency Monitoring"
url="https://oss.oetiker.ch/mrtg/"
arch="all"
license="GPL-2.0-or-later"
depends="perl"
makedepends="gd-dev libpng-dev zlib-dev"
subpackages="$pkgname-doc"
source="https://oss.oetiker.ch/mrtg/pub/mrtg-$pkgver.tar.gz
	mrtg.initd mrtg.confd"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--bindir=/usr/bin \
		--libdir=/usr/lib \
		--datadir=/usr/share/doc \
		--mandir=/usr/share/doc/man
	make
}

package() {
	make install DESTDIR="$pkgdir"
}

sha512sums="
c1dbeb5ce065b2b071d18e1eec1100d56eb7c4c654562de530139acee27ad57614354b74e3d0777cb6d4470a58ed6acae0f1af9c6f7115bf329132a68b6e0aaa  mrtg-2.17.8.tar.gz
bafdee6845f9f38ca4e3a547ac74e4fdbe444f351f7548b894f2cd3ff39a8eb7d19558459d1c54f5d547e730b8d011e128331c4ec84a192f8ec1c7faa0b577a2  mrtg.initd
ee42805b0d3abb802e7e69d1544f2821223183aadf3a6009c9434e56054d9b0df579e83a9f6ab22afa65590f6d331daf49fb512ac2578e9f473b6d40382dd2b5  mrtg.confd
"