aboutsummaryrefslogtreecommitdiffstats
path: root/testing/httpry/APKBUILD
blob: 099f1396ec9fefa51572861d0e2e6756dbfef3b9 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=httpry
pkgver=0.1.7
pkgrel=0
pkgdesc="A packet sniffer designed for HTTP traffic"
url="http://dumpsterventures.com/jason/httpry/"
arch="all"
license="GPL2"
depends=""
depends_dev=""
makedepends="libpcap-dev"
install=""
subpackages="$pkgname-doc"
source="http://dumpsterventures.com/jason/httpry/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	install -m755 -D "$_builddir"/$pkgname \
		"$pkgdir"/usr/sbin/$pkgname  || return 1
	install -m644 -D "$_builddir"/$pkgname.1 \
		"$pkgdir"/usr/share/man/man1/$pkgname.1  || return 1
}

md5sums="ee7f9b766adbf22facfc2f98a908de67  httpry-0.1.7.tar.gz"
sha256sums="00debb88f90f79d65dcbcc590c2a1172411f70f9134a9367f29c113594d7b9fa  httpry-0.1.7.tar.gz"
sha512sums="05a68c2699cdc5d782bf984cdf3f18e9b0369f558df29ccf1c61e0ca886cfca580694da14a447a5d99e153bc52510fb0a6b5ad3b2ec2441990f32562a62563b8  httpry-0.1.7.tar.gz"