diff options
Diffstat (limited to 'unmaintained/ipmitool/APKBUILD')
-rw-r--r-- | unmaintained/ipmitool/APKBUILD | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/unmaintained/ipmitool/APKBUILD b/unmaintained/ipmitool/APKBUILD new file mode 100644 index 0000000000..113d672a2f --- /dev/null +++ b/unmaintained/ipmitool/APKBUILD @@ -0,0 +1,70 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=ipmitool +pkgver=1.8.13 +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 + 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="64f36baea740f701c5f287805da968a2 ipmitool-1.8.13.tar.bz2 +ae9d53a2a262e43a3dd9b579b264888b ipmievd.initd +2fe2ef5cbc48b0e2e1c03f891f6a278e ipmievd.confd" +sha256sums="530bea8685a647a2ca58f40a1b317d529056f00129ad770e376a5b8a7faa8575 ipmitool-1.8.13.tar.bz2 +b6c53306685e892386e74b839d302fc0df6a89a44ff1e05b399aeaf817676ca1 ipmievd.initd +3a56f0fa94f358f5fb9ee782a2f2a4755dbf5b19706553a673232d49c751fe04 ipmievd.confd" +sha512sums="2dfcd993e3965876058cd89dc961aa1ec6a9f5aacebb92f6438318dde0bf2c76f493bc678de5a10de00cc16a35a0ab6df0a4b4452542663b84b40f61be03446d ipmitool-1.8.13.tar.bz2 +1c9caea2c4ba2b846e08caca4b2c81bc159ddbc10699579b0c33c9c69894f7ae71eee0a86a6e45ef089f7593e16dc4c668df189c9840880cd65203b54ee2fde4 ipmievd.initd +4cace868f1776a96736b7460c84f525d63d6f53531f1f3e62f0337741dc36fb5b2ee9706fdae6a7b853e98d3894376949797ddc254248bd42dc79d85742c1744 ipmievd.confd" |