wok-next view motion/receipt @ rev 20405
Follow BLFS Chapter 9 "General Libraries": up apr, apr-util, aspell, autoconf213 (for js), dbus-glib, enchant, exempi, fftw, glib, glibmm, gmime, gobject-introspection, gsl, js, libboost.
js is 39.7MB / 87.6MB now. Looks like it's proper time to kick off polkit (Hi, Xander! You was right.)
js is 39.7MB / 87.6MB now. Looks like it's proper time to kick off polkit (Hi, Xander! You was right.)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 07 17:39:40 2017 +0200 (2017-12-07) |
parents | 3c13a1e665f2 |
children | 757d032c55c7 |
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 }