aboutsummaryrefslogtreecommitdiffstats
path: root/community/wrk
diff options
context:
space:
mode:
authorStuart Cardall <developer@it-offshore.co.uk>2016-08-18 20:46:53 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-21 22:24:04 +0200
commit5c9f3ca3e307be53b45beeed2ce1626f38008625 (patch)
tree919836fe454e953f46685adf8228b0401280d4b6 /community/wrk
parent6a00a953ba02bab6440a2c784e7db37c6eaeace1 (diff)
downloadaports-5c9f3ca3e307be53b45beeed2ce1626f38008625.tar.bz2
aports-5c9f3ca3e307be53b45beeed2ce1626f38008625.tar.xz
testing/[various]: move to community
albatross-themes apk-post-messages autossh bitcoin btrbk entr ffmpegthumbnailer firejail firetools fwsnort gnome-colors imapsync inetutils-syslogd inotify-tools-inc isync junit ktsuss letsencrypt-nosudo libmbim libndp libqmi libteam mini-sendmail modemmanager namecoin networkmanager nginx-naxsi numix-themes nxapi opencl-headers opencl-icd-loader opus-tools perl-authen-ntlm perl-bit-vector perl-data-uniqid perl-file-copy-recursive perl-getopt-argvfile perl-io-tee perl-iptables-chainmgr perl-iptables-parse perl-module-scandeps perl-par-dist perl-par-packer perl-par perl-uri-escape psad py-crcmod py-graphviz py-lz4 py-opencl py-opengl-accelerate runit secpwgen secure-delete socklog spacefm tinyssh udevil virt-viewer virtualbricks whois wrk xpra zram-init
Diffstat (limited to 'community/wrk')
-rw-r--r--community/wrk/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/community/wrk/APKBUILD b/community/wrk/APKBUILD
new file mode 100644
index 0000000000..76b7edff01
--- /dev/null
+++ b/community/wrk/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Contributor: Stuart Cardall <developer@it-offshore.co.uk>
+# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
+pkgname=wrk
+pkgver=4.0.1
+pkgrel=0
+pkgdesc="wrk is a modern HTTP benchmarking tool"
+url="https://github.com/wg/wrk"
+# requires -march=i586 to build on x86
+arch="x86_64"
+license="ASL 2.0"
+depends=""
+depends_dev=""
+makedepends="openssl-dev"
+install=""
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/wg/wrk/archive/$pkgver.tar.gz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ make -C "$_builddir" || return 1
+}
+
+package() {
+ cd "$_builddir"
+ mkdir -p $pkgdir/usr/bin
+ mkdir -p $pkgdir/usr/share/doc/$pkgname/scripts
+ install -m755 -D $pkgname "$pkgdir"/usr/bin/$pkgname
+ install -m644 -D README "$pkgdir"/usr/share/doc/$pkgname/
+ install -m644 -D LICENSE "$pkgdir"/usr/share/doc/$pkgname/
+ install -m644 -D NOTICE "$pkgdir"/usr/share/doc/$pkgname/
+ install -m755 -D scripts/* "$pkgdir"/usr/share/doc/$pkgname/scripts/
+}
+
+md5sums="2520c55f197b5bb38b96ef2495b9af11 wrk-4.0.1.tar.gz"
+sha256sums="c03bbc283836cb4b706eb6bfd18e724a8ce475e2c16154c13c6323a845b4327d wrk-4.0.1.tar.gz"
+sha512sums="75e8e0d6f1e7929a43bb80fe65e1f2a36a169d19d839940ebe7dc9765a182e1adee3ba2873e97511ddabbd252b8447a69a92a2cfc584f05d65a2f8b31bbf4141 wrk-4.0.1.tar.gz"