aboutsummaryrefslogtreecommitdiff
path: root/development/samurai
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2021-01-05 06:44:41 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-01-09 14:30:38 +0700
commit3da1fdd4c34832cd8f6549f03d9c1edaff8b2f75 (patch)
tree13f9692b9b14fb1ad77c462058a42a2be645523c /development/samurai
parentc44bdc55765af8049b4a6175df37e095ff6a1031 (diff)
development/samurai: Updated for version 1.2.
Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/samurai')
-rw-r--r--development/samurai/README16
-rw-r--r--development/samurai/samurai.SlackBuild7
-rw-r--r--development/samurai/samurai.info6
3 files changed, 14 insertions, 15 deletions
diff --git a/development/samurai/README b/development/samurai/README
index 27a71ab071e34..50767754e0b05 100644
--- a/development/samurai/README
+++ b/development/samurai/README
@@ -1,10 +1,10 @@
-samurai is a ninja-compatible build tool written in C99 with a focus on
-simplicity, speed, and portability.
+samurai is a ninja-compatible build tool written in C99 with a focus
+on simplicity, speed, and portability.
-samurai implements the ninja build language through version 1.8.2 except
-for MSVC dependency handling (deps = msvc). It uses the same format for
-.ninja_log and .ninja_deps as ninja, currently version 5 and 3
-respectively.
+It is largely feature-complete and supports most of the same options
+as ninja.
-It is largely feature-complete and supports most of the same options as
-ninja.
+Many SlackBuild scripts allow setting the NINJA environment variable
+to use samu instead of ninja.
+
+ export NINJA='samu'
diff --git a/development/samurai/samurai.SlackBuild b/development/samurai/samurai.SlackBuild
index 19d1d9623f252..8d505c095fea9 100644
--- a/development/samurai/samurai.SlackBuild
+++ b/development/samurai/samurai.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for samurai
-# Copyright 2018-2020 Hunter Sezen California, USA
+# Copyright 2018-2021 Hunter Sezen California, USA
# 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=samurai
-VERSION=${VERSION:-1.1}
+VERSION=${VERSION:-1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,9 +69,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-make CFLAGS="$SLKCFLAGS"
-
make install \
+ CFLAGS="$SLKCFLAGS" \
PREFIX=/usr \
MANDIR=/usr/man \
DESTDIR=$PKG
diff --git a/development/samurai/samurai.info b/development/samurai/samurai.info
index 3594a6358d383..0ed81df68cf75 100644
--- a/development/samurai/samurai.info
+++ b/development/samurai/samurai.info
@@ -1,8 +1,8 @@
PRGNAM="samurai"
-VERSION="1.1"
+VERSION="1.2"
HOMEPAGE="https://github.com/michaelforney/samurai"
-DOWNLOAD="https://github.com/michaelforney/samurai/releases/download/1.1/samurai-1.1.tar.gz"
-MD5SUM="5e8578e2950145a2e766156f0f9dcec2"
+DOWNLOAD="https://github.com/michaelforney/samurai/releases/download/1.2/samurai-1.2.tar.gz"
+MD5SUM="3ad6771de19a93660fdb36dc67687727"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""