[arch-commits] Commit in openipmi/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Nov 10 04:00:01 UTC 2020
Date: Tuesday, November 10, 2020 @ 04:00:01
Author: foutrelis
Revision: 748333
archrelease: copy trunk to community-staging-x86_64
Added:
openipmi/repos/community-staging-x86_64/
openipmi/repos/community-staging-x86_64/PKGBUILD
(from rev 748332, openipmi/trunk/PKGBUILD)
----------+
PKGBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
Copied: openipmi/repos/community-staging-x86_64/PKGBUILD (from rev 748332, openipmi/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-11-10 04:00:01 UTC (rev 748333)
@@ -0,0 +1,42 @@
+# 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.29
+pkgrel=4
+pkgdesc='Full-function IPMI (Intelligent Platform Management Interface) system'
+url='http://openipmi.sourceforge.net/'
+arch=('x86_64')
+license=('LGPL2.1')
+makedepends=('python' 'swig')
+depends=('popt' 'ncurses' 'net-snmp' 'glib2' 'gdbm' 'libedit')
+optdepends=('python: bindings')
+source=("https://downloads.sourceforge.net/project/${pkgname}/${_pkgname}%202.0%20Library/${_pkgname}-${pkgver}.tar.gz")
+sha512sums=('ff23aadfe4b9002574d1f06dda3d61f7a03ef1df2c61855516b7d67bd6d3272c53af74e3412e1045242dcb845f50b7c542083e918805c0efac424dd86e720a10')
+
+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