Skip to content

Instantly share code, notes, and snippets.

@simonpintarelli
Created December 7, 2017 12:55
Show Gist options
  • Save simonpintarelli/b734f60af3f529ba6925be1beab4e190 to your computer and use it in GitHub Desktop.
Save simonpintarelli/b734f60af3f529ba6925be1beab4e190 to your computer and use it in GitHub Desktop.
likwid v4.3.0
# Maintainer: Steven Vancoillie <steven<dot>vancoillie[at]gmail[dot]com>
pkgname=likwid
pkgver=4.3.0
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=('ec6b627b932af8f3523693073abdef3df50a938b8351b7aac4a5d33c9f807e5e')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i "12s:/usr/local:/usr:; 25s:/man:/share/man:; 48s:/sbin:/bin:; 49s:/sbin:/bin:" config.mk
sed -i "s:/sbin:/bin:" Makefile
make
}
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