wok view motion/receipt @ rev 18724

lynis 2.1.1 + receipt change: download at new place, but website link works still
author Erkan Yilmaz <erkan@slitaz.org>
date Fri Dec 18 13:06:39 2015 +0000 (2015-12-18)
parents 3c13a1e665f2
children dca10c877d95
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.lavrsen.dk/foswiki/bin/view/Motion"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="libpthread-stubs jpeg libv4l"
14 BUILD_DEPENDS="libpthread-stubs jpeg-dev libv4l-dev"
15 #ffmpeg --> breaks build
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's@<linux/videodev.h>@<libv4l1.h>\n#include <linux/videodev2.h>@' *.c *.h
22 ./configure \
23 --sysconfdir=/etc/motion &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/etc/motion $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 cp -a $stuff/motion.conf $fs/etc/motion
33 cp -a $stuff/init.d $fs/etc
34 chmod 0644 $fs/etc/motion/*
35 }