[arch-commits] Commit in openipmi/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Wed Aug 1 09:44:07 UTC 2018
Date: Wednesday, August 1, 2018 @ 09:44:07
Author: foutrelis
Revision: 366432
archrelease: copy trunk to community-staging-x86_64
Added:
openipmi/repos/community-staging-x86_64/
openipmi/repos/community-staging-x86_64/PKGBUILD
(from rev 366431, openipmi/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: openipmi/repos/community-staging-x86_64/PKGBUILD (from rev 366431, openipmi/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2018-08-01 09:44:07 UTC (rev 366432)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Miguel Revilla <yo at miguelrevilla.com>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: goodmen <goodmenzy at gmail.com>
+
+pkgname=openipmi
+_pkgname=OpenIPMI
+pkgver=2.0.25
+pkgrel=3
+pkgdesc='Full-function IPMI (Intelligent Platform Management Interface) system'
+url='http://openipmi.sourceforge.net/'
+arch=('x86_64')
+license=('LGPL2.1')
+makedepends=('swig')
+depends=('popt' 'ncurses' 'net-snmp' 'glib2' 'gdbm')
+source=("https://downloads.sourceforge.net/project/${pkgname}/${_pkgname}%202.0%20Library/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('f0f1a0ec732409930b7a31a6daa6cf39b585f52059b62a5f092b7ece21aa75a5')
+
+prepare() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ sed \
+ -e '/Requires:/s/pthread//' \
+ -e '/Libs:/s/$/ -lpthread/' \
+ -i OpenIPMIpthread.pc.in
+}
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install-exec
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 doc/IPMI.pdf "${pkgdir}/usr/share/doc/${pkgname}/IPMI.pdf"
+}
More information about the arch-commits
mailing list