aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/httpry/APKBUILD
blob: 0687dbf72591409608a00ae8266beb0b2761ed6a (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.8
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="212a03b32c3e3668f5890f8779a86ded  httpry-0.1.8.tar.gz"
sha256sums="ef53454f895f68005f7b9ab634d1b433c4df839eacea9109e4ee48d4296fb613  httpry-0.1.8.tar.gz"
sha512sums="28d9fc37229e8b47711227762134e5b6e81bde0a44947f2e527771da2d042ba7e7c38b1ec205808a9e444e1235c91932ba16df4a31cc3d739c6474b25e149636  httpry-0.1.8.tar.gz"