blob: d8554bb76e4638e3d6d2905e443b502312e8be3c (
plain)
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=ipmitool
pkgver=1.8.12
pkgrel=0
pkgdesc="Command-line interface to IPMI-enabled devices"
url="http://ipmitool.sourceforge.net"
arch="all"
license="BSD"
depends=""
depends_dev="readline-dev openssl-dev ncurses-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://heanet.dl.sourceforge.net/project/ipmitool/ipmitool/$pkgver/ipmitool-$pkgver.tar.bz2
ipmievd.initd
ipmievd.confd"
_builddir="$srcdir"/ipmitool-$pkgver
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure --prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--bindir=/usr/sbin \
--enable-ipmievd \
--enable-ipmishell \
--enable-intf-lan \
--enable-intf-lanplus \
--enable-intf-open \
--disable-intf-free \
--disable-intf-imb \
--disable-intf-lipmi \
--disable-intf-bmc \
--disable-internal-md5 \
--with-kerneldir=/usr \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
install -D -m755 "$srcdir"/ipmievd.initd \
"$pkgdir"/etc/init.d/ipmievd || return 1
install -D -m644 "$srcdir"/ipmievd.confd \
"$pkgdir"/etc/conf.d/ipmievd || return 1
}
md5sums="cfdfd15b6ee471c19a7a7e6b47233963 ipmitool-1.8.12.tar.bz2
ae9d53a2a262e43a3dd9b579b264888b ipmievd.initd
2fe2ef5cbc48b0e2e1c03f891f6a278e ipmievd.confd"
sha256sums="549b2da65c30905248aee07367a9cae3dd94bceaddd9c122d55075766c868733 ipmitool-1.8.12.tar.bz2
b6c53306685e892386e74b839d302fc0df6a89a44ff1e05b399aeaf817676ca1 ipmievd.initd
3a56f0fa94f358f5fb9ee782a2f2a4755dbf5b19706553a673232d49c751fe04 ipmievd.confd"
sha512sums="354c2081f47af2a6193ec3813ec8afff342232f15a4433d0a2b8745088487604115f3c0ad190282021982add775c5d0bc1b6da6f7faa31137b9fc8542bdd3825 ipmitool-1.8.12.tar.bz2
1c9caea2c4ba2b846e08caca4b2c81bc159ddbc10699579b0c33c9c69894f7ae71eee0a86a6e45ef089f7593e16dc4c668df189c9840880cd65203b54ee2fde4 ipmievd.initd
4cace868f1776a96736b7460c84f525d63d6f53531f1f3e62f0337741dc36fb5b2ee9706fdae6a7b853e98d3894376949797ddc254248bd42dc79d85742c1744 ipmievd.confd"
|