wok-6.x view motion/receipt @ rev 13679
cryptopp: up 5.6.1
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Tue Nov 27 09:57:29 2012 -0800 (2012-11-27) |
parents | 1311ba9fe4bf |
children | 408c87fa22ca |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.lavrsen.dk/foswiki/bin/view/Motion"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="libpthread-stubs jpeg libv4l"
13 BUILD_DEPENDS="libpthread-stubs jpeg-dev libv4l-dev"
14 #ffmpeg --> breaks build
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's@<linux/videodev.h>@<libv4l1.h>\n#include <linux/videodev2.h>@' *.c *.h
21 ./configure \
22 --sysconfdir=/etc/motion &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/etc/motion $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 cp -a $stuff/motion.conf $fs/etc/motion
32 cp -a $stuff/init.d $fs/etc
33 chmod 0644 $fs/etc/motion/*
34 }