wok view motion/receipt @ rev 23255
updated ocaml (4.07.1 -> 4.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 25 17:29:13 2020 +0100 (2020-03-25) |
parents | dca10c877d95 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="motion"
4 VERSION="4.3.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Monitors the video signal from cameras."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://motion-project.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/Motion-Project/$PACKAGE/archive/release-$VERSION.tar.gz"
14 DEPENDS="ffmpeg jpeg libmicrohttpd libpthread-stubs libv4l"
15 BUILD_DEPENDS="automake ffmpeg-dev jpeg-dev libmicrohttpd-dev libpthread-stubs \
16 libtool libv4l-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's@<linux/videodev.h>@<libv4l1.h>\n#include <linux/videodev2.h>@' \
22 src/*.c \
23 src/*.h
25 autoreconf -fiv &&
26 ./configure \
27 --sysconfdir=/etc/motion &&
28 make &&
29 make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/etc/motion
36 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 cp -a $stuff/motion.conf $fs/etc/motion
40 cp -a $stuff/init.d $fs/etc
42 chmod 0644 $fs/etc/motion/*
43 }