New package: libtraceevent-1.6.3

This commit is contained in:
classabbyamp 2022-08-22 21:37:06 -04:00 committed by classabbyamp
parent 7065e68b98
commit 94e9bc70a2
3 changed files with 37 additions and 0 deletions

View File

@ -4202,3 +4202,4 @@ libabsl_throw_delegate.so.2206.0.0 abseil-cpp-20220623.1_1
libabsl_time_zone.so.2206.0.0 abseil-cpp-20220623.1_1
libabsl_spinlock_wait.so.2206.0.0 abseil-cpp-20220623.1_1
libairspyhf.so.0 libairspyhf-1.6.8_1
libtraceevent.so.1 libtraceevent-1.6.2_1

1
srcpkgs/libtraceevent-devel Symbolic link
View File

@ -0,0 +1 @@
libtraceevent

View File

@ -0,0 +1,35 @@
# Template file for 'libtraceevent'
pkgname=libtraceevent
version=1.6.3
revision=1
build_style=gnu-makefile
make_build_args="libdir_relative=lib${XBPS_TARGET_WORDSIZE}"
make_build_target="all doc"
make_install_args="$make_build_args pkgconfig_dir=/usr/lib/pkgconfig"
make_install_target="install doc-install"
hostmakedepends="asciidoc xmlto source-highlight pkg-config"
checkdepends="CUnit-devel"
short_desc="Linux kernel trace event library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only, LGPL-2.1-only"
homepage="https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/"
distfiles="https://git.kernel.org/pub/scm/libs/libtrace/libtraceevent.git/snapshot/libtraceevent-${version}.tar.gz"
checksum=031e4428586788bb835d894f7f11c54e482764063d96ead303c7f208fb59e353
do_check() {
make ${makejobs} test
utest/trace-utest
}
libtraceevent-devel_package() {
depends="${sourcepkg}>=${version}_${revision} ${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/share/man/man3
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/doc
}
}