Last active
April 25, 2018 21:29
-
-
Save simonpintarelli/e921ad8ebf019d0324e9e5baf2b71a42 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Christian Schmitt <christian[at]idkfa[dot]de> | |
pkgname=likwid | |
pkgver=4.3.2 | |
pkgrel=1 | |
pkgdesc="Lightweight performance tools" | |
url="https://github.com/rrze-likwid/likwid" | |
arch=('x86_64' 'i686') | |
license=('GPLv3') | |
depends=() | |
makedepends=() | |
optdepends=('perl: for likwid-mpirun and likwid-perfscope' | |
'openmpi: for likwid-mpirun' | |
'gnuplot: for likwid-perfscope') | |
conflicts=() | |
source=("${url}/archive/${pkgver}.tar.gz") | |
sha256sums=('fd39529854b8952e7530da1684835aa43ac6ce2169f5ebd1fb2a481f6fb288ac') | |
build() { | |
cd "${srcdir}/${pkgname}-${pkgver}" | |
sed -i "s:/usr/local:/usr:; s:/man:/share/man:; s:/sbin:/bin:; s:/sbin:/bin:" config.mk | |
sed -i "s:/usr/local:/usr:" ext/lua/includes/luaconf.h | |
sed -i "s:/sbin:/bin:" Makefile | |
make $MAKEFLAGS | |
} | |
package() { | |
cd "${srcdir}/${pkgname}-${pkgver}" | |
make PREFIX="${pkgdir}/usr" install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment