21 lines
725 B
Bash
21 lines
725 B
Bash
# Template file for 'python3-drgn'
|
|
pkgname=python3-drgn
|
|
version=0.0.23
|
|
revision=1
|
|
build_style=python3-module
|
|
hostmakedepends="automake libtool pkg-config python3-setuptools"
|
|
makedepends="elfutils-devel libgomp-devel python3-devel libkdumpfile-devel"
|
|
depends="python3"
|
|
short_desc="Scriptable debugger library"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://github.com/osandov/drgn/"
|
|
distfiles="https://github.com/osandov/drgn/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=a13691a0df3e33bb8e4c73219c5677b75c2324bf70a1eeb485a3b367ce0c5d4c
|
|
|
|
pre_build() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
export CONFIGURE_FLAGS="--host=$XBPS_CROSS_TRIPLET --with-libtool-sysroot=$XBPS_CROSS_BASE"
|
|
fi
|
|
}
|