void-packages/srcpkgs/librtas/template
Jürgen Buchmüller 40a012c1ee
librtas: fix big endian
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2019-03-19 15:47:25 +01:00

28 lines
761 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
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"
}
}