aboutsummaryrefslogblamecommitdiffstats
path: root/community/tcptraceroute/APKBUILD
blob: b29aa3a39c4c39e77d3ddd8e6350583295d963fc (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11



                                                     
        





                                             
                                                 




                                                                                   
                                          

           

                                       


         
                      







                                         
                      





                                                                                                                                                                            
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=tcptraceroute
pkgver=1.5b7
_ver=${pkgver/b/beta}
pkgrel=1
pkgdesc="Display route path using TCP probes"
url="https://github.com/mct/tcptraceroute"
arch="all"
license="GPL"
depends=
depends_dev=
makedepends="$depends_dev libpcap-dev libnet-dev"
install=
subpackages="$pkgname-doc"
source="https://github.com/mct/tcptraceroute/archive/tcptraceroute-1.5beta7.tar.gz"


builddir="$srcdir"/$pkgname-$pkgname-$_ver

prepare() {
	cd "$builddir"
	update_config_guess || return 1
}

build() {
	cd "$builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make || return 1
}

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

md5sums="8a679c57d5bd702ca91662fd88e964b6  tcptraceroute-1.5beta7.tar.gz"
sha256sums="57fd2e444935bc5be8682c302994ba218a7c738c3a6cae00593a866cd85be8e7  tcptraceroute-1.5beta7.tar.gz"
sha512sums="ad5588e62a56f1b5fa851b68280a88e66a900777fe4fd67587262245cd9da17b536b7dc972abe540fc124a93ac76abcabbc55bc32f9f8ee872d5df57b08f7222  tcptraceroute-1.5beta7.tar.gz"