Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
aports
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rasmus Thomsen
aports
Commits
ca97859e
Commit
ca97859e
authored
Jan 06, 2018
by
Roberto Oliveira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing/qperf: modernize and add simple check
Add a simple test as upstream doesn't provide a test suite.
parent
6cc1d4e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
14 deletions
+17
-14
testing/qperf/APKBUILD
testing/qperf/APKBUILD
+17
-14
No files found.
testing/qperf/APKBUILD
View file @
ca97859e
# Maintainer: Matthieu Monnier <matthieu.monnier@enalean.com>
pkgname
=
qperf
pkgver
=
0.4.9
pkgrel
=
0
pkgrel
=
1
pkgdesc
=
"Measuring network performance"
url
=
"https://www.openfabrics.org"
arch
=
"all"
...
...
@@ -10,24 +10,27 @@ subpackages="$pkgname-doc"
license
=
"GPL-2.0"
source
=
"https://www.openfabrics.org/downloads/qperf/
$pkgname
-
$pkgver
.tar.gz"
builddir
=
"
$srcdir
"
/
"
$pkgname
"
-
"
$pkgver
"
builddir
=
"
$srcdir
/
$pkgname
-
$pkgver
"
build
()
{
cd
"
$builddir
"
./configure
\
--prefix
=
/usr
\
--sysconfdir
=
/etc
\
--mandir
=
/usr/share/man
\
--infodir
=
/usr/share/info
\
--localstatedir
=
/var
||
return
1
make
||
return
1
cd
"
$builddir
"
./configure
\
--prefix
=
/usr
\
--sysconfdir
=
/etc
\
--mandir
=
/usr/share/man
\
--infodir
=
/usr/share/info
\
--localstatedir
=
/var
make
}
check
()
{
cd
"
$builddir
"
./src/qperf
--help
>>
/dev/null
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
||
return
1
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
}
md5sums
=
"a9eea1953ee5379e57ae5fd7b09fecf2 qperf-0.4.9.tar.gz"
sha256sums
=
"2300e75edffe95d4dfbe576eb5c2f0d0da3142b5e4a96fcd01b535d50a48f07c qperf-0.4.9.tar.gz"
sha512sums
=
"da22c76686b62262381f774fa107d0ec3b0695128628c55ed945c53a20f0854411e6d2b15d431a98177ce5be8332d2a1e54429d3d81c4c22f160d07e992aab3c qperf-0.4.9.tar.gz"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment