summaryrefslogtreecommitdiff
path: root/system/ipmitool/ipmitool.SlackBuild
diff options
context:
space:
mode:
authorEmmanuel N. Millan <emmanueln@gmail.com>2020-01-04 23:37:28 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-12 08:47:59 +0700
commit6f1297f9de6701e9b8d25211fa8d1f24847ce51b (patch)
tree3ffd4a797030f614c6e34a70f11f38775a2906e9 /system/ipmitool/ipmitool.SlackBuild
parentf3b070595fae6c18e26b46283561126b713f7694 (diff)
downloadslackbuilds-6f1297f9de6701e9b8d25211fa8d1f24847ce51b.tar.gz
system/ipmitool: Updated for version 1.8.18.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/ipmitool/ipmitool.SlackBuild')
-rw-r--r--system/ipmitool/ipmitool.SlackBuild19
1 files changed, 8 insertions, 11 deletions
diff --git a/system/ipmitool/ipmitool.SlackBuild b/system/ipmitool/ipmitool.SlackBuild
index b632d54ce8..ca5ec00020 100644
--- a/system/ipmitool/ipmitool.SlackBuild
+++ b/system/ipmitool/ipmitool.SlackBuild
@@ -9,9 +9,10 @@
# Based on http://slackbuilds.org/template.SlackBuild
# Modified by Mario Preksavec <mario@slackware.hr>
+# Updated by Emmanuel N. Millan
PRGNAM=ipmitool
-VERSION=${VERSION:-1.8.13}
+VERSION=${VERSION:-1.8.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -48,7 +49,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -62,25 +63,21 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--build=$ARCH-slackware-linux
-make
-make install DESTDIR=$PKG
+make DOCDIR=/usr/doc/$PRGNAM-$VERSION
+make DOCDIR=/usr/doc/$PRGNAM-$VERSION install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-mkdir -p $PKG/usr/doc
-mv $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION
-rmdir $PKG/usr/share/doc
cp -a contrib $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild