system/motion: Updated for version 4.3.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Sebastian Arcus 2020-05-02 17:34:53 +07:00 committed by Willy Sudiarto Raharjo
parent e965cf1896
commit f3840b9c7f
2 changed files with 9 additions and 8 deletions

View file

@ -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

View file

@ -1,10 +1,10 @@
PRGNAM="motion"
VERSION="4.2.2"
VERSION="4.3.1"
HOMEPAGE="https://motion-project.github.io"
DOWNLOAD="https://github.com/Motion-Project/motion/archive/release-4.2.2/motion-release-4.2.2.tar.gz"
MD5SUM="6986e44b6bf294a2d4f07f85595275e0"
DOWNLOAD="https://github.com/Motion-Project/motion/archive/release-4.3.1/motion-release-4.3.1.tar.gz"
MD5SUM="2d49f8af48f9deff4ea9204b05cc327c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libmicrohttpd"
MAINTAINER="Sebastian Arcus"
EMAIL="s.arcus <at> open-t {dot} co {dot} uk"
EMAIL="s.arcus <at> open-t [dot] co [dot] uk"