wok view motion/receipt @ rev 21713

get-LibreOffice: fix menu entries (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 09 11:37:02 2019 +0200 (2019-06-09)
parents 408c87fa22ca
children ab3bb1a75137
line source
1 # SliTaz package receipt.
3 PACKAGE="motion"
4 VERSION="4.2.2"
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>@' *.c *.h
23 autoreconf -fiv
24 ./configure \
25 --sysconfdir=/etc/motion &&
26 make &&
27 make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/etc/motion
34 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 cp -a $stuff/motion.conf $fs/etc/motion
38 cp -a $stuff/init.d $fs/etc
40 chmod 0644 $fs/etc/motion/*
41 }