aboutsummaryrefslogtreecommitdiff
path: root/system/motion/motion.SlackBuild
diff options
context:
space:
mode:
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 d0e04931596ed..bae4bc7990008 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