summaryrefslogtreecommitdiff
path: root/system/motion/motion.SlackBuild
diff options
context:
space:
mode:
authorSebastian Arcus <s.arcus at>2020-05-02 17:34:53 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-05-02 17:34:53 +0700
commitf3840b9c7f89180adeaa272b1b85715feb91242a (patch)
tree992ef28b8e209166d1e2dea4bad571119f1767ad /system/motion/motion.SlackBuild
parente965cf18968ea65a23e2d6c3811ab9a7adcfb852 (diff)
downloadslackbuilds-f3840b9c7f89180adeaa272b1b85715feb91242a.tar.gz
system/motion: Updated for version 4.3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/motion/motion.SlackBuild')
-rw-r--r--system/motion/motion.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/system/motion/motion.SlackBuild b/system/motion/motion.SlackBuild
index d0e0493159..bae4bc7990 100644
--- a/system/motion/motion.SlackBuild
+++ b/system/motion/motion.SlackBuild
@@ -2,9 +2,10 @@
# Slackware build script for motion.
#
-# Copyright 2013 Sebastian Arcus: sbo {at} open-t {dot} co {dot} uk
+# Copyright 2013-2020 Sebastian Arcus: s.arcus {at} open-t [dot] co [dot] uk
# Copyright 2009-2010 Pierre Cazenave <pwcazenave> {at} gmail [dot] com
# Copyright 2007 Martin Lefebvre <dadexter@sekurity.com>
+# With contributions from JB: afrotrap {at} gmail [dot] com
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +26,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=motion
-VERSION=${VERSION:-4.2.2}
+VERSION=${VERSION:-4.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,7 +74,7 @@ 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 {} \;
-autoreconf
+autoreconf -fiv
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -99,7 +100,7 @@ mv $PKG/etc/motion/motion-dist.conf $PKG/etc/motion/motion-dist.conf.new
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
mv $PKG/usr/share/doc/motion/* $PKG/usr/doc/$PRGNAM-$VERSION
-mv $PKG/usr/share/$PRGNAM/examples $PKG/usr/doc/$PRGNAM-$VERSION/
+#mv $PKG/usr/share/$PRGNAM/examples $PKG/usr/doc/$PRGNAM-$VERSION/
rm -rf $PKG/usr/share # We moved the docs from there
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild