New package: bcc-0.1.8
This commit is contained in:
parent
ba6a49700a
commit
abbc9b0917
|
@ -0,0 +1 @@
|
|||
bcc
|
|
@ -0,0 +1 @@
|
|||
bcc
|
|
@ -0,0 +1,48 @@
|
|||
# Template file for 'bcc'
|
||||
pkgname=bcc
|
||||
version=0.1.8
|
||||
revision=1
|
||||
build_style=cmake
|
||||
configure_args="-DREVISION=${version}"
|
||||
hostmakedepends="flex"
|
||||
makedepends="clang lld-devel llvm ncurses-devel python-devel zlib-devel"
|
||||
short_desc="BPF-based Linux IO analysis, networking, monitoring, and more"
|
||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||
license="Apache-2.0"
|
||||
homepage="https://github.com/iovisor/bcc"
|
||||
distfiles="https://github.com/iovisor/${pkgname}/archive/v${version}.tar.gz"
|
||||
checksum=7535d0dec063454a858337dd07211ad2a207f8fa5665a3fad166f38415e50d70
|
||||
|
||||
bcc-tools_package() {
|
||||
short_desc+=" - tools"
|
||||
depends="python-bcc>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/share/bcc/man/man8
|
||||
mv ${PKGDESTDIR}/usr/share/bcc/man ${PKGDESTDIR}/usr/share/man
|
||||
vmkdir usr/share/doc
|
||||
vmove usr/share/bcc/tools
|
||||
mv ${PKGDESTDIR}/usr/share/bcc/tools/doc ${PKGDESTDIR}/usr/share/doc/bcc-tools
|
||||
mv ${PKGDESTDIR}/usr/share/bcc/tools ${PKGDESTDIR}/usr/bin
|
||||
mv ${PKGDESTDIR}/usr/bin/trace ${PKGDESTDIR}/usr/bin/trace-bcc
|
||||
}
|
||||
}
|
||||
bcc-devel_package() {
|
||||
short_desc+=" - development files"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove usr/lib/*.so
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/share/bcc/examples
|
||||
}
|
||||
}
|
||||
python-bcc_package() {
|
||||
lib32disabled=yes
|
||||
depends="python"
|
||||
short_desc+=" - Python 2.7 module"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
pycompile_module="bcc"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/python*"
|
||||
}
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
bcc
|
Loading…
Reference in New Issue