aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-08-16 17:43:23 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-08-16 17:45:16 +0200
commit3cc625f9b62f4223b1df3d643395e51aaf73ce6d (patch)
tree67407a977898d4dbfab59b629fa01f7e36e86b9d
parentafb821ce0d8aff2cc569abebaba9e1c9ff15a131 (diff)
downloadaports-3cc625f9b62f4223b1df3d643395e51aaf73ce6d.tar.bz2
aports-3cc625f9b62f4223b1df3d643395e51aaf73ce6d.tar.xz
testing/ostinato: upgrade to 0.8, fix source url and modernize abuild
-rw-r--r--testing/ostinato/APKBUILD20
1 files changed, 9 insertions, 11 deletions
diff --git a/testing/ostinato/APKBUILD b/testing/ostinato/APKBUILD
index f962a49734..a16c9c9067 100644
--- a/testing/ostinato/APKBUILD
+++ b/testing/ostinato/APKBUILD
@@ -1,30 +1,30 @@
# Maintainer: Corentin Henry <corentinhenry@gmail.com>
# Contributor: Corentin Henry <corentinhenry@gmail.com>
pkgname=ostinato
-pkgver=0.7.1
-pkgrel=1
+pkgver=0.8
+pkgrel=0
pkgdesc="Packet/Traffic Generator and Analyzer"
-url="https://www.ostinato.org/"
+url="http://www.ostinato.org/"
arch="all"
license="GPLv3"
depends=""
makedepends="qt-dev protobuf-dev libpcap-dev paxmark"
subpackages="$pkgname-drone $pkgname-gui"
-source="http://dl.bintray.com/pstavirs/ostinato/$pkgname-src-$pkgver.tar.gz"
-builddir="$srcdir"/$pkgname-$pkgver
+source="$pkgname-$pkgver.tar.gz::https://github.com/pstavirs/$pkgname/archive/v$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
- qmake PREFIX=/usr || return 1
+ qmake PREFIX=/usr
make
}
package() {
cd "$builddir"
- make INSTALL_ROOT="$pkgdir" install || return 1
- paxmark -m "$pkgdir"/usr/bin/drone || return 1
+ make INSTALL_ROOT="$pkgdir" install
+ paxmark -m "$pkgdir"/usr/bin/drone
paxmark -m "$pkgdir"/usr/bin/ostinato
}
@@ -42,6 +42,4 @@ gui() {
mv "$pkgdir"/usr/bin/ostinato "$subpkgdir"/usr/bin/ostinato
}
-md5sums="84c1ad90d3132d42b40025c6167fd8f0 ostinato-src-0.7.1.tar.gz"
-sha256sums="7b46eb5257b5b50ee5317dcf9158c6e78ba36a04858c3c9228fa02e8a98364c2 ostinato-src-0.7.1.tar.gz"
-sha512sums="4494584930445567bd191e265a6f877fdbbe7aa38c23184d7aa7baf7a75de33c351fc7edac4efe1ce112be02a295d6851fa7df2505eb306f90d564c8e1d296ed ostinato-src-0.7.1.tar.gz"
+sha512sums="0f2430e1df7a8e36e6d4db3dffbf575203e3127f2fd4e035e17752a140c263b9b97611d6028d80c9238c788fb5f0b303e5511fe250fffcf8762d4e52c0ade61d ostinato-0.8.tar.gz"