summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-05-27 22:30:25 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-05-27 22:30:25 -0300
commit53057357cf767bb5e7999628620a916769671d27 (patch)
tree0a02423a027d0442ba868b532344601b048d1cd5
parent938a52cdfa42435782ed3d213b79fd6ab3860a65 (diff)
downloadabslibre-53057357cf767bb5e7999628620a916769671d27.tar.gz
abslibre-53057357cf767bb5e7999628620a916769671d27.tar.bz2
abslibre-53057357cf767bb5e7999628620a916769671d27.zip
openipmi: add pkg to pcr repo
-rw-r--r--pcr/openipmi/PKGBUILD56
1 files changed, 56 insertions, 0 deletions
diff --git a/pcr/openipmi/PKGBUILD b/pcr/openipmi/PKGBUILD
new file mode 100644
index 000000000..1dcb359ee
--- /dev/null
+++ b/pcr/openipmi/PKGBUILD
@@ -0,0 +1,56 @@
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+
+pkgname=openipmi
+_pkgname1=${pkgname::4}
+_pkgname2=${pkgname:4}
+_pkgname=${_pkgname1^}${_pkgname2^^}
+pkgver=2.0.19
+_pkgver=${pkgver::3}
+pkgrel=1
+pkgdesc="Allow access to platform information using Intelligent Platform Management Interface (${_pkgname2^^})"
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+url=http://sourceforge.net/projects/$pkgname/
+depends=(
+ glib
+ net-snmp
+ #python2
+ swig
+ tcl
+)
+makedepends=(
+ dia
+ ghostscript-libre
+ texlive-bibtexextra
+)
+options=(!libtool)
+license=(
+ BSD-new
+ GPL2
+ LGPL2.1
+)
+source=http://downloads.sourceforge.net/project/$pkgname/$_pkgname' '$_pkgver' 'Library/$_pkgname-$pkgver.tar.gz
+sha512sums=ee95eb64b7cde3f22c8444a5f8e3172808b0bb9a3a7034c1302c5f568c1cc0852a44ccc836924267b5f9901f7a8a3f4c66272cc0b663aa55689d7529841217cb
+
+prepare() {
+ cd $srcdir/$_pkgname-$pkgver
+ sed -i '/on Linux/ s|Linux|GNU/Linux|' $(grep -rl Linux)
+}
+
+build() {
+ cd $srcdir/$_pkgname-$pkgver
+ setarch $CARCH ./configure --prefix=/usr\
+ --disable-static
+ setarch $CARCH make
+}
+
+package() {
+ cd $srcdir/$_pkgname-$pkgver
+ install -d $pkgdir/usr/bin
+ setarch $CARCH make DESTDIR=$pkgdir install
+}
+
+# vim:set ts=2 sw=2 et: