void-packages/srcpkgs/powerpc-utils/template

30 lines
884 B
Bash

# Template file for 'powerpc-utils'
pkgname=powerpc-utils
version=1.3.7
revision=1
archs="ppc ppc-musl ppc64*"
build_style=gnu-configure
configure_args="--disable-silent-rules"
hostmakedepends="automake libtool"
makedepends="librtas-devel zlib-devel"
depends="bc"
short_desc="Suite of utilities for Linux on Power systems"
maintainer="q66 <daniel@octaforge.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/ibm-power-utilities/powerpc-utils"
distfiles="https://github.com/ibm-power-utilities/powerpc-utils/archive/v${version}.tar.gz"
checksum=bb48758bca3b9d056141b522e700218ee4e814b517aadf5a01f53b970ad1d3c3
if [ "$CROSS_BUILD" ]; then
configure_args+=" --with-librtas ac_cv_lib_rtasevent_parse_rtas_event=yes"
fi
case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" libexecinfo-devel"
configure_args+=" LIBS=-lexecinfo"
;;
esac
pre_configure() {
./autogen.sh
}