30 lines
884 B
Bash
30 lines
884 B
Bash
# Template file for 'powerpc-utils'
|
|
pkgname=powerpc-utils
|
|
version=1.3.6
|
|
revision=2
|
|
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=0ff10b01761ea1b598b05aaf9a5c20da8ab8784b3dc6d0c7f19d15426672523b
|
|
|
|
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
|
|
}
|