2018-12-17 15:12:22 +01:00
|
|
|
# Template file for 'librtas'
|
|
|
|
pkgname=librtas
|
|
|
|
version=2.0.2
|
|
|
|
revision=1
|
2019-01-26 12:03:01 +01:00
|
|
|
only_for_archs="ppc ppc-musl ppc64le ppc64le-musl ppc64-musl"
|
2018-12-17 15:12:22 +01:00
|
|
|
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
|
|
|
|
|
|
|
|
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"
|
|
|
|
}
|
|
|
|
}
|