diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-06-13 06:18:04 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-06-13 06:18:16 +0000 |
commit | fbf0806f49a9df3e59e22a88b11a3e23b97219fc (patch) | |
tree | b8327338b227d5e1b549dff01112f4d9fa160991 /main/tcptraceroute | |
parent | 530c7ba2ad87dbf10857b43057cbef8f7c1a548a (diff) | |
download | aports-fbf0806f49a9df3e59e22a88b11a3e23b97219fc.tar.bz2 aports-fbf0806f49a9df3e59e22a88b11a3e23b97219fc.tar.xz |
testing/tcptraceroute: move to main
Diffstat (limited to 'main/tcptraceroute')
-rw-r--r-- | main/tcptraceroute/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/main/tcptraceroute/APKBUILD b/main/tcptraceroute/APKBUILD new file mode 100644 index 0000000000..18cce16287 --- /dev/null +++ b/main/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" |