41 lines
1.2 KiB
Bash
41 lines
1.2 KiB
Bash
# 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
|
|
}
|
|
}
|