diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-12-25 21:09:55 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2012-12-25 21:09:55 -0200 |
commit | 7435cccaf1250a55203097a3e72f66887cd640b8 (patch) | |
tree | 26d7bcd511cd36241ffe1bcea9c67ea94143ce1a | |
parent | 29def18502041b34ea509733bbc4544c0fbb796a (diff) | |
parent | 8d6c6790bb37dece4185eefd1e9340a6fc3f3855 (diff) | |
download | abslibre-7435cccaf1250a55203097a3e72f66887cd640b8.tar.gz abslibre-7435cccaf1250a55203097a3e72f66887cd640b8.tar.bz2 abslibre-7435cccaf1250a55203097a3e72f66887cd640b8.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
-rw-r--r-- | pcr/freeipmi/PKGBUILD | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/pcr/freeipmi/PKGBUILD b/pcr/freeipmi/PKGBUILD new file mode 100644 index 000000000..ff321ea02 --- /dev/null +++ b/pcr/freeipmi/PKGBUILD @@ -0,0 +1,49 @@ +# http://github.com/fukawi2/aur-packages +# Contributor: Nathan Owe <ndowens04 at gmail> +# Contributor: Phillip Smith <fukawi2@NO-SPAM.gmail.com> +# Maintainer : Parabola GNU / Linux-libre Aurélien Desbrières <aurelien@cwb.IO> + +pkgname=freeipmi +pkgver=1.2.3 +pkgrel=1 +pkgdesc="sensor monitoring, system event monitoring, power control, and serial-over-LAN (SOL)" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/freeipmi/" +license=('GPL') +depends=('libgcrypt') +options=('!libtool') +source=("http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz") + +build() { + cd $srcdir/$pkgname-$pkgver + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + --infodir=/usr/share/info + + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + + make DESTDIR=$pkgdir/ install + + # Move init scripts and config to Arch paths + mv $pkgdir/etc/init.d $pkgdir/etc/rc.d + mv $pkgdir/etc/sysconfig $pkgdir/etc/conf.d + + # Fix references to 'init.d' and 'sysconfig' + sed -e 's|/etc/init.d/|/etc/rc.d/|g' \ + -e 's|/etc/rc.d/init.d/functions|/etc/rc.d/functions|g' \ + -i $pkgdir/etc/rc.d/* + sed -e 's|CONFFILE=/etc/sysconfig/bmc-watchdog|CONFFILE=/etc/cond.f/bmc-watchdog|g' \ + -i $pkgdir/etc/rc.d/bmc-watchdog + + rm -Rf $pkgdir/usr/share/info/dir +} + +# vim:set ts=2 sw=2 et: |