aboutsummaryrefslogtreecommitdiff
path: root/system/lsyncd/lsyncd.SlackBuild
diff options
context:
space:
mode:
authorArkadiusz Drabczyk <arkadiusz@drabczyk.org>2018-04-01 08:06:54 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-01 08:06:54 +0700
commit30021e28bc1d445131b0151335fd2407906d7d99 (patch)
tree38cfb264b2fe1b449628957d406e74109446d0ff /system/lsyncd/lsyncd.SlackBuild
parentc5aed96c27f1ecb46ae0b6e4241a5d432f52d583 (diff)
system/lsyncd: Updated for version 2.2.3.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/lsyncd/lsyncd.SlackBuild')
-rw-r--r--system/lsyncd/lsyncd.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/system/lsyncd/lsyncd.SlackBuild b/system/lsyncd/lsyncd.SlackBuild
index 25f5143c98f6..35e731ed72f3 100644
--- a/system/lsyncd/lsyncd.SlackBuild
+++ b/system/lsyncd/lsyncd.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=lsyncd
-VERSION=${VERSION:-2.2.2}
+VERSION=${VERSION:-2.2.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,7 +70,11 @@ 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 {} \;
-cmake \
+# move 5.3 to the beginning
+sed -i 's,SET(_POSSIBLE_SUFFIXES "52" "5.2" "-5.2" "53" "5.3" "-5.3" ""), \
+ SET(_POSSIBLE_SUFFIXES "5.3" "52" "5.2" "-5.2" "53" "5.3" "-5.3" ""),' cmake/FindLua.cmake
+
+LUA_DIR=/usr/include/lua5.3 cmake \
-DCMAKE_C_FLAGS="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr .