aboutsummaryrefslogtreecommitdiffstats
path: root/testing/wbox/APKBUILD
blob: d32a05d77f822fbd1585d41489c9448f0c0ad95c (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=wbox
pkgver=5
pkgrel=0
pkgdesc="HTTP testing tool and configuration-less HTTP server"
url="http://www.hping.org/wbox/"
arch="all"
license="BSD"
depends=""
depends_dev=""
makedepends=""
install=""
subpackages=""
source="http://www.hping.org/wbox/$pkgname-$pkgver.tar.gz"
_builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	install -m755 -D "$_builddir"/$pkgname "$pkgdir"/usr/bin/$pkgname
}

md5sums="a95ca2c69982db10704b5ed482c9c722  wbox-5.tar.gz"