38 lines
1.1 KiB
Bash
38 lines
1.1 KiB
Bash
# Template file for 'ipmiutil'
|
|
pkgname=ipmiutil
|
|
version=3.1.8
|
|
revision=1
|
|
archs="i686* x86_64* ppc*"
|
|
build_style=gnu-configure
|
|
configure_args="--disable-systemd --libdir=/usr/lib"
|
|
makedepends="openssl-devel"
|
|
short_desc="Series of utilities that perform common IPMI management functions"
|
|
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
|
|
license="BSD-2-Clause, BSD-3-Clause"
|
|
#changelog="http://ipmiutil.sourceforge.net/docs/ChangeLog"
|
|
homepage="http://ipmiutil.sourceforge.net"
|
|
distfiles="${SOURCEFORGE_SITE}/project/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
checksum=b14357b9723e38a19c24df2771cff63d5f15f8682cd8a5b47235044b767b1888
|
|
disable_parallel_build=yes
|
|
conflicts="renameutils"
|
|
|
|
post_install() {
|
|
vlicense COPYING
|
|
|
|
mv "${DESTDIR}/usr/sbin/"* "${DESTDIR}/usr/bin"
|
|
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"
|
|
}
|
|
}
|