aboutsummaryrefslogtreecommitdiff
path: root/ruby/facter/facter.SlackBuild
diff options
context:
space:
mode:
authorThibaut Notteboom <tib@tibux.org>2013-02-17 16:01:16 -0600
committerRobby Workman <rworkman@slackbuilds.org>2013-02-22 22:27:44 -0600
commitb9ecc66854eeca83b1a725cfbff6f59d5d121c92 (patch)
treee704c78bd69cf1d97756338bbdc46e2de3ebb70c /ruby/facter/facter.SlackBuild
parentc491acda6640e48f66b49d564a30b1093000a182 (diff)
ruby/facter: Updated for version 1.6.17.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'ruby/facter/facter.SlackBuild')
-rw-r--r--ruby/facter/facter.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/ruby/facter/facter.SlackBuild b/ruby/facter/facter.SlackBuild
index 5109b75f535c..c8b08e5599b8 100644
--- a/ruby/facter/facter.SlackBuild
+++ b/ruby/facter/facter.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for facter
-# Copyright 2012 Thibaut Notteboom, Paris, FRANCE
+# Copyright 2012-2013 Thibaut Notteboom, Paris, FRANCE
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=facter
-VERSION=${VERSION:-1.6.14}
+VERSION=${VERSION:-1.6.17}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -74,8 +74,8 @@ ruby install.rb install --destdir=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-mkdir $PKG/etc
-cp -a etc/facter.conf $PKG/etc/facter.conf
+mkdir -p $PKG/etc
+cp -a etc/facter.conf $PKG/etc/facter.conf.new
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
@@ -86,6 +86,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
+cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}