mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/about/ Linux kernel trace file system library
38 lines
1,010 B
Text
38 lines
1,010 B
Text
# Maintainer: psykose <alice@ayaya.dev>
|
|
pkgname=libtracefs
|
|
pkgver=1.6.4
|
|
pkgrel=0
|
|
pkgdesc="Linux kernel trace file system library"
|
|
url="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/about/"
|
|
arch="all"
|
|
license="LGPL-2.1-or-later"
|
|
makedepends="libtraceevent-dev"
|
|
checkdepends="cunit-dev"
|
|
subpackages="$pkgname-dev"
|
|
source="https://git.kernel.org/pub/scm/libs/libtrace/libtracefs.git/snapshot/$pkgname-$pkgver.tar.gz
|
|
makefile.patch
|
|
"
|
|
options="!check" # fail to start, but exit 0
|
|
|
|
build() {
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
make \
|
|
pkgconfig_dir=/usr/lib/pkgconfig \
|
|
prefix=/usr \
|
|
libdir_relative=lib \
|
|
DESTDIR="$pkgdir" \
|
|
install
|
|
rm -v "$pkgdir"/usr/lib/*.a
|
|
}
|
|
|
|
sha512sums="
|
|
0db20393272ce75c9132fc189993929545f41ac00cc9b0fdbb6adcb4bcda41433f05c047d06d9774f9b00b9e3ed3cfed3879e75365e72c0bb705cf16449e06c4 libtracefs-1.6.4.tar.gz
|
|
575cde93b1118afc72ba4fe0df976ba7238033c9bb2b365bf295da7c057bf7e1fa72dd02be55963697db92bb0e96ffc8ed4f5b127ffa84468a6c0b4f478390f3 makefile.patch
|
|
"
|