aboutsummaryrefslogtreecommitdiff
path: root/system/onerng/onerng.SlackBuild
diff options
context:
space:
mode:
authorpyllyukko <pyllyukko@maimed.org>2022-06-06 23:31:48 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-06-11 08:58:56 +0700
commitafbde90334866fe105837b1f6ca14c6e25c9d415 (patch)
treec42a9be2a612825a626fd83aa1a86522fde1b8cc /system/onerng/onerng.SlackBuild
parent903607e025666fc71abe1e7bba775afefdbed7ac (diff)
system/onerng: Updated for version 3.7.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/onerng/onerng.SlackBuild')
-rw-r--r--system/onerng/onerng.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/system/onerng/onerng.SlackBuild b/system/onerng/onerng.SlackBuild
index beb76ea70302..2520767b77db 100644
--- a/system/onerng/onerng.SlackBuild
+++ b/system/onerng/onerng.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=onerng
-VERSION=${VERSION:-3.6}
+VERSION=${VERSION:-3.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -90,9 +90,8 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
make
-# fix the .conf -> .conf.new
-sed -i 's:^\(.*onerngconfSCRIPT_INSTALL.*$(DESTDIR)$(onerngconfdir)/$$f\)\(.*\)$:\1.new\2:' files/Makefile
make install-strip DESTDIR=$PKG
+mv -v ${PKG}/etc/onerng.conf ${PKG}/etc/onerng.conf.new
mkdir -p ${PKG}/usr/doc/${PRGNAM}-${VERSION}
cp -a \