diff --git a/common/shlibs b/common/shlibs index 93e2948ced..e4b33d4c86 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3374,3 +3374,5 @@ librec.so.1 librec1-1.8_1 libfixposix.so.3 libfixposix-0.4.3_1 libgerv.so.1 gerbv-2.6.2_1 libupstart.so.1 libupstart-1.13.3_1 +librtas.so.2 librtas-2.0.2_1 +librtasevent.so.2 librtas-2.0.2_1 diff --git a/srcpkgs/librtas-devel b/srcpkgs/librtas-devel new file mode 120000 index 0000000000..009caf3ec7 --- /dev/null +++ b/srcpkgs/librtas-devel @@ -0,0 +1 @@ +librtas \ No newline at end of file diff --git a/srcpkgs/librtas/template b/srcpkgs/librtas/template new file mode 100644 index 0000000000..515ee1d1b2 --- /dev/null +++ b/srcpkgs/librtas/template @@ -0,0 +1,28 @@ +# Template file for 'librtas' +pkgname=librtas +version=2.0.2 +revision=1 +only_for_archs="ppc64le ppc64le-musl ppc64-musl" +build_style=gnu-configure +hostmakedepends="automake libtool" +short_desc="Librtas library for Linux on Power systems" +maintainer="q66 " +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" + } +}