# HG changeset patch # User Hans-G?nter Theisgen # Date 1556643319 -3600 # Node ID dca10c877d95a08d67180dfbd6109d129cc09a1a # Parent 68d83aa227f4a04896fe7a1daf30c1053d6ac880 updated motion (3.2.12 -> 4.2.2) diff -r 68d83aa227f4 -r dca10c877d95 motion/receipt --- a/motion/receipt Tue Apr 30 17:32:49 2019 +0100 +++ b/motion/receipt Tue Apr 30 17:55:19 2019 +0100 @@ -1,35 +1,41 @@ # SliTaz package receipt. PACKAGE="motion" -VERSION="3.2.12" +VERSION="4.2.2" CATEGORY="multimedia" -SHORT_DESC="Motion is a program that monitors the video signal from cameras." +SHORT_DESC="Monitors the video signal from cameras." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://motion-project.github.io/" + TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="http://www.lavrsen.dk/foswiki/bin/view/Motion" -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" +WGET_URL="https://github.com/Motion-Project/$PACKAGE/archive/release-$VERSION.tar.gz" -DEPENDS="libpthread-stubs jpeg libv4l" -BUILD_DEPENDS="libpthread-stubs jpeg-dev libv4l-dev" -#ffmpeg --> breaks build +DEPENDS="ffmpeg jpeg libmicrohttpd libpthread-stubs libv4l" +BUILD_DEPENDS="automake ffmpeg-dev jpeg-dev libmicrohttpd-dev libpthread-stubs \ + libtool libv4l-dev" # Rules to configure and make the package. compile_rules() { - cd $src sed -i 's@@\n#include @' *.c *.h + + autoreconf -fiv ./configure \ --sysconfdir=/etc/motion && - make && make install + make && + make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/etc/motion $fs/usr - cp -a $install/usr/bin $fs/usr - cp -a $stuff/motion.conf $fs/etc/motion - cp -a $stuff/init.d $fs/etc + mkdir -p $fs/etc/motion + mkdir -p $fs/usr + + cp -a $install/usr/bin $fs/usr + cp -a $stuff/motion.conf $fs/etc/motion + cp -a $stuff/init.d $fs/etc + chmod 0644 $fs/etc/motion/* }