summaryrefslogtreecommitdiff
path: root/system/openrc
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2017-06-08 16:16:48 +0530
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-09 07:17:41 +0700
commit877a06eeaf810f5f8e4d298a5fb36e54008ba3bc (patch)
tree11e9fd86af5dc1007e9ed566658e7775ce1d3768 /system/openrc
parented248ae6053e6760e2c3e0a56d1f2a3576ff2769 (diff)
downloadslackbuilds-877a06eeaf810f5f8e4d298a5fb36e54008ba3bc.tar.gz
system/openrc: Updated for version 0.27.
Diffstat (limited to 'system/openrc')
-rw-r--r--system/openrc/openrc.SlackBuild11
-rw-r--r--system/openrc/openrc.info6
2 files changed, 8 insertions, 9 deletions
diff --git a/system/openrc/openrc.SlackBuild b/system/openrc/openrc.SlackBuild
index 0101d19f6b..4530a89a64 100644
--- a/system/openrc/openrc.SlackBuild
+++ b/system/openrc/openrc.SlackBuild
@@ -24,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openrc
-VERSION=${VERSION:-0.26.2}
+VERSION=${VERSION:-0.27}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -61,8 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-[ -e "$CWD/$PRGNAM-$VERSION.tar.gz" ] && tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-[ -e "$CWD/$VERSION.tar.gz" ] && tar xvf $CWD/$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
diff --git a/system/openrc/openrc.info b/system/openrc/openrc.info
index d7ed83ae6a..c4611445dd 100644
--- a/system/openrc/openrc.info
+++ b/system/openrc/openrc.info
@@ -1,8 +1,8 @@
PRGNAM="openrc"
-VERSION="0.26.2"
+VERSION="0.27"
HOMEPAGE="https://github.com/OpenRC/openrc"
-DOWNLOAD="https://github.com/OpenRC/openrc/archive/0.26.2.tar.gz"
-MD5SUM="dc893e14c8cd43ca87bb9bc5d740b950"
+DOWNLOAD="https://github.com/OpenRC/openrc/archive/0.27.tar.gz"
+MD5SUM="fe9fd968654ba89284c8a7b339bc9d3e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="%README%"