void-packages/srcpkgs/ipmiutil/template

38 lines
1.2 KiB
Bash
Raw Normal View History

2016-05-17 07:44:50 +02:00
# Template file for 'ipmiutil'
pkgname=ipmiutil
version=3.0.0
2016-10-06 04:18:18 +02:00
revision=2
2016-05-17 07:44:50 +02:00
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
2016-10-07 22:06:49 +02:00
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
2016-05-17 07:44:50 +02:00
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
}
}