36 lines
1.1 KiB
Bash
36 lines
1.1 KiB
Bash
|
# 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
|
||
|
}
|
||
|
}
|