-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
37 lines (34 loc) · 1.09 KB
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Template file for 'ipmiutil'
pkgname=ipmiutil
version=3.1.8
revision=2
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"
}
}