diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-05-30 14:37:28 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-05-30 14:37:28 -0300 |
commit | 475b01fc789b4ee29dab78435c2b6a06d4ed5979 (patch) | |
tree | 426c6af5b0d68c7bf3c743f9cc9fa6f3ce44166e /pcr/openhpi | |
parent | e26f7749abf4e3a21b4087e64ac49a55f71bf596 (diff) | |
parent | 4a875122e99a357ad6337ed290b71a36803e6244 (diff) | |
download | abslibre-475b01fc789b4ee29dab78435c2b6a06d4ed5979.tar.gz abslibre-475b01fc789b4ee29dab78435c2b6a06d4ed5979.tar.bz2 abslibre-475b01fc789b4ee29dab78435c2b6a06d4ed5979.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr/openhpi')
-rw-r--r-- | pcr/openhpi/PKGBUILD | 46 |
1 files changed, 41 insertions, 5 deletions
diff --git a/pcr/openhpi/PKGBUILD b/pcr/openhpi/PKGBUILD index 6389ff39c..7da1cc055 100644 --- a/pcr/openhpi/PKGBUILD +++ b/pcr/openhpi/PKGBUILD @@ -1,8 +1,8 @@ -# Maintainer: Márcio Silva <coadde@lavabit.com> +# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com> pkgname=openhpi pkgver=3.2.0 -pkgrel=1 +pkgrel=3 pkgdesc='Abstracted interface for managing computer hardware, typically chassis and rack based servers' arch=( i686 @@ -15,11 +15,14 @@ depends=( libxml2 net-snmp ) +options=(!libtool) source=http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz sha512sums=5a54ccc2279b3a608e2842dd3b4f01d7d483182ecd33d1d33186247cea15b62f1e0aea4eea1294cd6c3959a25424dc322cca73e516f4c8fd9d3a41a949d087ab prepare() { cd $srcdir/$pkgname-$pkgver + + # fixing path sed -i 's|bin/sh|usr/bin/bash|; ' $(grep -rl bin/sh) sed -i 's|usr/sbin|usr/bin|; @@ -32,16 +35,49 @@ prepare() { ' $(grep -rl var/lock) sed -i 's|var/run|run|; ' $(grep -rl var/run) - sed -i '/Like Linux/ s|Linux|GNU/Linux|; - /Linux and Compaq Tru64 Unix/ s|Linux|GNU/Linux|; + + # remove Open Source term + #sed -i 's|Open Source / ||; + # s|open source / ||; + # s|Open Source|Free Software|; + # s|open source|free software|; + # ' $(grep -ril 'open source') + #sed -i 's|OpenSource / ||; + # s|opensource / ||; + # s|OpenSource|FreeSoftware|; + # s|opensource|freesoftware|; + # ' $(grep -ril opensource) + + # remove Linux term + sed -i '/, Linux/ s|Linux|GNU/Linux|; + /And Linux/ s|Linux|GNU/Linux|; + /and Linux/ s|Linux|GNU/Linux|; + /For Linux/ s|Linux|GNU/Linux|; + /for Linux/ s|Linux|GNU/Linux|; + /Like Linux/ s|Linux|GNU/Linux|; + /like Linux/ s|Linux|GNU/Linux|; + /Linux,/ s|Linux|GNU/Linux|; + /Linux and/ s|Linux|GNU/Linux|; /Linux distribution/ s|Linux|GNU/Linux|; - /Linux software/ s|Linux|GNU/Linux|; + /Linux machine/ s|Linux|GNU/Linux|; + /Linux operating/ s|Linux|GNU/Linux|; + /Linux OS/ s|Linux|GNU/Linux|; + /Linux specific/ s|Linux|GNU/Linux|; + /Linux system/ s|Linux|GNU/Linux|; + /Under Linux/ s|Linux|GNU/Linux|; + /under Linux/ s|Linux|GNU/Linux|; + /On Linux/ s|Linux|GNU/Linux|; + /on Linux/ s|Linux|GNU/Linux|; + s|GNU/GNU|GNU|; + s|GNU/Linux kernel|Linux kernel|; + s|GNU/Linux specific kernel|Linux specific kernel|; ' $(grep -rl Linux) } build() { cd $srcdir/$pkgname-$pkgver setarch $CARCH ./configure --prefix=/usr\ + --disable-static\ --enable-clients\ --enable-dynamic_simulator\ --enable-ilo2_ribcl\ |