void-packages/srcpkgs/freeipmi/template
2016-10-01 23:10:22 -04:00

35 lines
983 B
Bash

# Template file for 'freeipmi'
pkgname=freeipmi
version=1.5.4
revision=1
build_style=gnu-configure
configure_args="--without-systemdsystemunitdir ac_cv_header_sys_stropts_h=no"
conf_files="/etc/freeipmi/*.conf"
hostmakedepends="pkg-config"
makedepends="libgcrypt-devel"
short_desc="In-band and out-of-band IPMI software"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="GPL-3"
# Changelog: http://www.gnu.org/software/freeipmi/NEWS
homepage="http://www.gnu.org/software/freeipmi/"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=6504a775d5d818c9353ecc7b2697596b29f8bc05e917b6f70157492fbddd1fd5
post_install() {
rm -rf ${DESTDIR}/etc/{sysconfig,init.d}
vsv ipmiseld
vsv ipmidetectd
vsv bmc-watchdog
}
freeipmi-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/man/man3
vmove usr/lib/pkgconfig
}
}