New package: ipmiutil-3.0.0

This commit is contained in:
Toyam Cox 2016-05-17 01:44:50 -04:00
parent 8433e60601
commit 824ab06455
3 changed files with 42 additions and 0 deletions

View file

@ -2415,6 +2415,7 @@ libfbembed.so.2 libfbclient-2.5.5.26952_1
libfbembed.so.2.5 libfbclient-2.5.5.26952_1
libib_util.so libfbclient-2.5.5.26952_1
libgds.so.0 libfbclient-2.5.5.26952_1
libipmiutil.so.1 ipmiutil-3.0.0_1
libqxmpp.so.0 qxmpp-0.9.3_1
libunwind.so.1 llvm-libunwind-3.8.0_1
libc++abi.so.1 libcxxabi-3.8.0_1

1
srcpkgs/ipmiutil-devel Symbolic link
View file

@ -0,0 +1 @@
ipmiutil

40
srcpkgs/ipmiutil/template Normal file
View file

@ -0,0 +1,40 @@
# Template file for 'ipmiutil'
pkgname=ipmiutil
version=3.0.0
revision=1
build_style=gnu-configure
makedepends="libressl-devel"
short_desc="Series of utilities that perform common IPMI management functions"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="BSD-2.0"
#changelog="http://ipmiutil.sourceforge.net/docs/ChangeLog"
homepage="http://ipmiutil.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/project/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=7d57c1fd0d15518dcb13fa94842761d3309c09dec2679ccc382e600377352865
case "${XBPS_TARGET_MACHINE}" in
arm*-musl) broken="https://api.travis-ci.org/jobs/153884746/log.txt";;
esac
post_install() {
vlicense COPYING
# Cleaner than patching lib/Makefile
# Also using sed to blanket replace doesn't work.
mv "${DESTDIR}/usr/sbin/"* "${DESTDIR}/usr/bin/"
[ -d "${DESTDIR}/usr/lib64" ] && mv "${DESTDIR}/usr/lib64/"* "${DESTDIR}/usr/lib/"
rm "${DESTDIR}/usr/share/ipmiutil/"*.service
}
ipmiutil-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/*.a
vmove usr/share/ipmiutil/Makefile
vmove usr/share/ipmiutil/*.c
vmove usr/share/ipmiutil/*.h
}
}