diff options
author | Aaditya Bagga <aaditya_gnulinux@zoho.com> | 2017-06-08 16:16:48 +0530 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-06-09 07:17:41 +0700 |
commit | 877a06eeaf810f5f8e4d298a5fb36e54008ba3bc (patch) | |
tree | 11e9fd86af5dc1007e9ed566658e7775ce1d3768 /system/openrc/openrc.SlackBuild | |
parent | ed248ae6053e6760e2c3e0a56d1f2a3576ff2769 (diff) | |
download | slackbuilds-877a06eeaf810f5f8e4d298a5fb36e54008ba3bc.tar.gz |
system/openrc: Updated for version 0.27.
Diffstat (limited to 'system/openrc/openrc.SlackBuild')
-rw-r--r-- | system/openrc/openrc.SlackBuild | 11 |
1 files changed, 5 insertions, 6 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 . \ |