summaryrefslogtreecommitdiff
path: root/user/traceroute/APKBUILD
blob: 8eac94eb9023be77a2287209344ad1460f3411da (plain) (blame)
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
# 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"