wok-next view motion/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 10df65db91ad
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="motion"
4 VERSION="3.2.12"
5 CATEGORY="multimedia"
6 SHORT_DESC="Monitor the video signal from cameras"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.lavrsen.dk/foswiki/bin/view/Motion"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="libpthread-stubs jpeg-dev v4l-utils-dev"
15 #ffmpeg --> breaks build
17 compile_rules() {
18 sed -i 's@<linux/videodev.h>@<libv4l1.h>\n#include <linux/videodev2.h>@' *.c *.h
19 ./configure \
20 --sysconfdir=/etc/motion &&
21 make &&
22 make install || return 1
24 install -Dm644 $stuff/motion.conf $install/etc/motion/motion.conf
25 install -Dm755 $stuff/init.d/motion $install/etc/init.d/motion
26 }
28 genpkg_rules() {
29 copy @std
30 DEPENDS="libpthread-stubs jpeg v4l-utils"
31 }