summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-08-18 06:03:31 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-08-18 06:03:31 +0000
commit680084dab5a7a6639d4d3977d91c65f062b40e0e (patch)
tree5ded4ce6621804b2e0eef84e9a0ba1285f98e956
parent52930ba0a1ba2b9a290252723a018a157c446bdb (diff)
downloadpackages-680084dab5a7a6639d4d3977d91c65f062b40e0e.tar.gz
packages-680084dab5a7a6639d4d3977d91c65f062b40e0e.tar.bz2
packages-680084dab5a7a6639d4d3977d91c65f062b40e0e.tar.xz
packages-680084dab5a7a6639d4d3977d91c65f062b40e0e.zip
user/traceroute: new package
-rw-r--r--user/traceroute/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/user/traceroute/APKBUILD b/user/traceroute/APKBUILD
new file mode 100644
index 000000000..8eac94eb9
--- /dev/null
+++ b/user/traceroute/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=traceroute
+pkgver=2.1.0
+pkgrel=0
+pkgdesc="Utility to trace the network route of packets"
+url="http://traceroute.sourceforge.net/"
+arch="all"
+license="GPL-2.0"
+depends=""
+makedepends=""
+install=""
+options="!check"
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" prefix="/usr" install
+ ln -s traceroute "$pkgdir"/usr/bin/traceroute6
+}
+
+sha512sums="3578007c734091ea0c906637c03fd133a8b0154fbf2e6b5c0c881184947918196bc03aeaf872d3bd53777b9b771cba5cf97f73fb5916bb53b75037f429b40ed3 traceroute-2.1.0.tar.gz"