New package: papi-5.6.0

Closes: #12801
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2018-04-08 12:15:55 +02:00
parent 34b2ff7dbb
commit 621cdcf649
No known key found for this signature in database
GPG key ID: 6764EC32352D0647
3 changed files with 38 additions and 0 deletions

View file

@ -3237,6 +3237,8 @@ libspatialindex_c.so.4 libspatialindex-1.8.5_1
liboctave.so.4 octave-4.2.1_8
liboctinterp.so.4 octave-4.2.1_8
liboctgui.so.2 octave-4.2.1_8
libpapi.so.5 papi-5.6.0_1
libpfm.so.4 papi-5.6.0_1
libfifechan.so.0.1.4 fifechan-0.1.4_1
libfifechan_sdl.so.0.1.4 fifechan-0.1.4_1
libfifechan_opengl.so.0.1.4 fifechan-0.1.4_1

1
srcpkgs/papi-devel Symbolic link
View file

@ -0,0 +1 @@
papi

35
srcpkgs/papi/template Normal file
View file

@ -0,0 +1,35 @@
# Template file for 'papi'
pkgname=papi
version=5.6.0
revision=1
wrksrc="papi-${version}"
build_wrksrc="src"
build_style=gnu-configure
short_desc="Provides interface for use of performance counter hardware"
maintainer="johannes <johannes.brechtmann@gmail.com>"
license="BSD"
homepage="http://icl.cs.utk.edu/papi/"
distfiles="http://icl.utk.edu/projects/papi/downloads/papi-${version}.tar.gz"
checksum=49b7293f9ca2d74d6d80bd06b5c4be303663123267b4ac0884cbcae4c914dc47
if [ -n "$CROSS_BUILD" ]; then
_ARCH="${XBPS_TARGET_MACHINE%-musl}"
configure_args+=" --with-ffsll --with-tls
--with-walltimer=clock_realtime --with-virtualtimer=cloc_thread_cputime_id
--with-CPU=${_ARCH} --with-arch=${_ARCH}"
fi
post_install() {
vlicense ../LICENSE.txt
}
papi-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
}
}