mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-31 06:12:14 +01:00
27 lines
888 B
Plaintext
27 lines
888 B
Plaintext
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
|
pkgname=flamegraph
|
|
pkgver=1.0_git20220918
|
|
_commit=d9fcc272b6a08c3e3e5b7919040f0ab5f8952d65
|
|
pkgrel=0
|
|
pkgdesc="Stack trace visualizer"
|
|
url="http://www.brendangregg.com/flamegraphs.html"
|
|
arch="noarch"
|
|
license="CDDL-1.0"
|
|
depends="perl gawk"
|
|
options="!check" # no tests
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/brendangregg/FlameGraph/archive/$_commit.tar.gz"
|
|
builddir="$srcdir/FlameGraph-$_commit"
|
|
|
|
package() {
|
|
mkdir -p "$pkgdir"/usr/share/flamegraph "$pkgdir"/usr/bin
|
|
for x in *.pl; do
|
|
install -m755 $x "$pkgdir"/usr/share/flamegraph
|
|
ln -s ../share/flamegraph/$x "$pkgdir"/usr/bin/${x/.pl/}
|
|
done
|
|
}
|
|
|
|
sha512sums="
|
|
97d57a33f4759c122ec09fe421288b31cbd227c1d81b771c76379f33cd62e1e44f5ebbd1510483df18cf355cd3ddcfc44a7a47f9ae54f30ecdae34e776dc87f1 flamegraph-1.0_git20220918.tar.gz
|
|
"
|