aboutsummaryrefslogtreecommitdiffstats
path: root/community/tcptraceroute
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2015-11-10 07:46:22 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2015-11-10 07:56:41 +0000
commit37aedc59cedd5be745c79064f9a07fa897c4a8f7 (patch)
tree60c76268338fe675ced55e4ba179e5a8d89b2cd1 /community/tcptraceroute
parentad12bb855359c069498ee69eb1b5cb37683f25a9 (diff)
downloadaports-37aedc59cedd5be745c79064f9a07fa897c4a8f7.tar.bz2
aports-37aedc59cedd5be745c79064f9a07fa897c4a8f7.tar.xz
community/tcptraceroute: moved from main
Diffstat (limited to 'community/tcptraceroute')
-rw-r--r--community/tcptraceroute/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/tcptraceroute/APKBUILD b/community/tcptraceroute/APKBUILD
new file mode 100644
index 0000000000..18cce16287
--- /dev/null
+++ b/community/tcptraceroute/APKBUILD
@@ -0,0 +1,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"