wok-next view motion/receipt @ rev 20976

Follow recent changes in the Python renames
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Sep 25 17:35:51 2018 +0300 (2018-09-25)
parents 757d032c55c7
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="motion"
4 VERSION="3.2.12"
5 CATEGORY="multimedia"
6 SHORT_DESC="Motion is a program that monitors the video signal from cameras"
7 MAINTAINER="pankso@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 }