void-packages/srcpkgs/librtas/template

29 lines
766 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="Orphaned <orphan@voidlinux.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"
}
}