summaryrefslogtreecommitdiffstats
path: root/testing/tcptraceroute/APKBUILD
blob: 18cce16287a774569ac0d83ab4a09ab6477ed4d4 (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
# 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"
	return 0
}

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"