diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-06-19 10:00:00 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-06-19 10:00:00 +0000 |
commit | e0e63ecebfb33d1e192cbc0432b7771498cc71b3 (patch) | |
tree | 139b45b4711779cbf48d6d85780ff9d0164d77c4 /testing | |
parent | 732e426434244570268b4ba0d2dfab1630435436 (diff) | |
download | aports-e0e63ecebfb33d1e192cbc0432b7771498cc71b3.tar.bz2 aports-e0e63ecebfb33d1e192cbc0432b7771498cc71b3.tar.xz |
/testing/ipmiutil: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/ipmiutil/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/testing/ipmiutil/APKBUILD b/testing/ipmiutil/APKBUILD new file mode 100644 index 0000000000..3e540a4920 --- /dev/null +++ b/testing/ipmiutil/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=ipmiutil +pkgver=2.9.1 +pkgrel=0 +pkgdesc="IPMI Management Utilities" +url="http://ipmiutil.sourceforge.net/" +arch="all" +license="BSD" +depends="" +depends_dev="openssl-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://switch.dl.sourceforge.net/project/ipmiutil/ipmiutil-$pkgver.tar.gz" + +_builddir="$srcdir"/ipmiutil-$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 \ + --disable-systemd \ + --enable-sha256 \ + --enable-gpl \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="568b5511fc08634f94b13b02dc60cf0a ipmiutil-2.9.1.tar.gz" +sha256sums="6cb587a73b8f37796eda75a33d5321e1aa7dbbd266aa793f42005623b27aaa14 ipmiutil-2.9.1.tar.gz" +sha512sums="cd8d2eadbf460cc6179b42aa467d842ab3510e2f9721553c5d26566a8bd32d2284c0d87623adb8b73c736a20b5eb56d6973f6c1c55978b7fe1512cd5b19c4252 ipmiutil-2.9.1.tar.gz" |