diff options
author | kyak | 2021-08-06 13:16:20 +0300 |
---|---|---|
committer | kyak | 2021-08-06 13:16:20 +0300 |
commit | d45e1fc4dc87d5815089c4a911bec5472f9a2d33 (patch) | |
tree | 8d0f881ce3efb371f3c54451df4fed9eb6111b37 | |
download | aur-d45e1fc4dc87d5815089c4a911bec5472f9a2d33.tar.gz |
rteval v3.2
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6558f7cb536a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = rteval + pkgdesc = Evaluate performance of realtime Linux kernel on a particular hardware platform + pkgver = 3.2 + pkgrel = 1 + url = https://wiki.linuxfoundation.org/realtime/documentation/howto/tools/rteval + arch = x86_64 + groups = realtime + license = GPL2 + depends = rt-tests + depends = python-ethtool + depends = python-lxml + depends = python-dmidecode + source = git+https://git.kernel.org/pub/scm/utils/rteval/rteval.git#tag=v3.2 + md5sums = SKIP + +pkgname = rteval diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d288c17d2110 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +pkgname=rteval +pkgver=3.2 +pkgrel=1 +pkgdesc="Evaluate performance of realtime Linux kernel on a particular hardware platform" +arch=('x86_64') +url="https://wiki.linuxfoundation.org/realtime/documentation/howto/tools/rteval" +license=('GPL2') +groups=('realtime') +depends=('rt-tests' 'python-ethtool' 'python-lxml' 'python-dmidecode') +source=("git+https://git.kernel.org/pub/scm/utils/rteval/rteval.git#tag=v${pkgver}") +md5sums=('SKIP') + +prepare() { + cd "${pkgname}" + KLOAD="linux-5.7.tar.xz" + if [ ! -f "loadsource/$KLOAD" ]; then + wget -P loadsource https://www.kernel.org/pub/linux/kernel/v5.x/$KLOAD + fi +} + +package() { + cd "${pkgname}" + make DESTDIR="${pkgdir}" install +} |