summaryrefslogtreecommitdiffstats
path: root/testing/wbox/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/wbox/APKBUILD')
-rw-r--r--testing/wbox/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/wbox/APKBUILD b/testing/wbox/APKBUILD
new file mode 100644
index 000000000..d32a05d77
--- /dev/null
+++ b/testing/wbox/APKBUILD
@@ -0,0 +1,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"