wok-current diff motion/receipt @ rev 22195

updated xorg-libFS and xorg-libFS-dev (1.0.5 -> 1.0.8)
author Hans-G?nter Theisgen
date Mon Nov 11 10:04:30 2019 +0100 (2019-11-11)
parents 408c87fa22ca
children ab3bb1a75137
line diff
     1.1 --- a/motion/receipt	Sat Aug 10 17:48:05 2013 +0000
     1.2 +++ b/motion/receipt	Mon Nov 11 10:04:30 2019 +0100
     1.3 @@ -1,35 +1,41 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="motion"
     1.7 -VERSION="3.2.12"
     1.8 +VERSION="4.2.2"
     1.9  CATEGORY="multimedia"
    1.10 -SHORT_DESC="Motion is a program that monitors the video signal from cameras."
    1.11 +SHORT_DESC="Monitors the video signal from cameras."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://motion-project.github.io/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://www.lavrsen.dk/foswiki/bin/view/Motion"
    1.18 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 +WGET_URL="https://github.com/Motion-Project/$PACKAGE/archive/release-$VERSION.tar.gz"
    1.20  
    1.21 -DEPENDS="libpthread-stubs jpeg libv4l"
    1.22 -BUILD_DEPENDS="libpthread-stubs jpeg-dev libv4l-dev"
    1.23 -#ffmpeg --> breaks build
    1.24 +DEPENDS="ffmpeg jpeg libmicrohttpd libpthread-stubs libv4l"
    1.25 +BUILD_DEPENDS="automake ffmpeg-dev jpeg-dev libmicrohttpd-dev libpthread-stubs \
    1.26 +	libtool libv4l-dev"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	cd $src
    1.32  	sed -i 's@<linux/videodev.h>@<libv4l1.h>\n#include <linux/videodev2.h>@' *.c *.h
    1.33 +
    1.34 +	autoreconf -fiv
    1.35  	./configure \
    1.36  		--sysconfdir=/etc/motion &&
    1.37 -	make && make install
    1.38 +	make &&
    1.39 +	make install
    1.40  }
    1.41  
    1.42  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.43  genpkg_rules()
    1.44  {
    1.45 -	mkdir -p $fs/etc/motion $fs/usr
    1.46 -	cp -a $install/usr/bin $fs/usr
    1.47 -	cp -a $stuff/motion.conf $fs/etc/motion
    1.48 -	cp -a $stuff/init.d $fs/etc
    1.49 +	mkdir -p $fs/etc/motion
    1.50 +	mkdir -p $fs/usr
    1.51 +
    1.52 +	cp -a $install/usr/bin		$fs/usr
    1.53 +	cp -a $stuff/motion.conf	$fs/etc/motion
    1.54 +	cp -a $stuff/init.d		$fs/etc
    1.55 +
    1.56  	chmod 0644 $fs/etc/motion/*
    1.57  }