summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaichi Shinozaki2015-06-09 18:32:41 +0900
committerDaichi Shinozaki2015-06-09 18:32:41 +0900
commit9d536f5c9c0d85bf266a01ff958ca153114bd825 (patch)
tree467f96dec71b1b038fe47bffe99a9e2867b2db36
downloadaur-9d536f5c9c0d85bf266a01ff958ca153114bd825.tar.gz
Initial import
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD28
2 files changed, 41 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e7a9c4033da
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = tcpkali
+ pkgdesc = Fast multi-core TCP and WebSockets load generator.
+ pkgver = 0.6
+ pkgrel = 1
+ url = http://github.com/machinezone/tcpkali
+ arch = i686
+ arch = x86_64
+ license = custom
+ source = https://github.com/machinezone/tcpkali/releases/download/v0.6/tcpkali-0.6.tar.gz
+ md5sums = e94628c05c9b64f508de0ce61f1a4c3e
+
+pkgname = tcpkali
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9d648f48ba3
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Daichi Shinozaki <dsdseg@gmail.com>
+pkgname=tcpkali
+pkgver=0.6
+pkgrel=1
+pkgdesc="Fast multi-core TCP and WebSockets load generator."
+arch=('i686' 'x86_64')
+url="http://github.com/machinezone/tcpkali"
+license=('custom')
+source=("https://github.com/machinezone/$pkgname/releases/download/v$pkgver/${pkgname}-${pkgver}.tar.gz")
+noextract=()
+md5sums=('e94628c05c9b64f508de0ce61f1a4c3e')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ autoreconf -iv
+ ./configure --prefix=/usr
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make -k check
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}