a92d370caa
Generated with: git ls-files 'srcpkgs/**/patches/*' | cut -d/ -f2 | uniq | xargs printf 'srcpkgs/%s/template\n' | xargs grep -L 'patch_args=' | xargs sed -i "$(printf '1,/^$/{/^$/i\\\npatch_args=-Np0\n}\n')"
29 lines
777 B
Bash
29 lines
777 B
Bash
# Template file for 'librtas'
|
|
pkgname=librtas
|
|
version=2.0.2
|
|
revision=2
|
|
archs="ppc ppc-musl ppc64*"
|
|
build_style=gnu-configure
|
|
hostmakedepends="automake libtool"
|
|
short_desc="Librtas library for Linux on Power systems"
|
|
maintainer="q66 <daniel@octaforge.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://github.com/ibm-power-utilities/librtas"
|
|
distfiles="https://github.com/ibm-power-utilities/librtas/archive/v${version}.tar.gz"
|
|
checksum=b47b2a6f140347ac265e2c66ddf68293f6cdcc7c0c9a78c6e21ff52846465415
|
|
patch_args=-Np0
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
librtas-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|