wok view motion/receipt @ rev 12682

get-java6-jre: be generic
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 01 21:54:01 2012 +0200 (2012-05-01)
parents
children 3c13a1e665f2
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 DEPENDS="libpthread-stubs jpeg ffmpeg"
9 BUILD_DEPENDS="$DEPENDS jpeg-dev ffmpeg-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.lavrsen.dk/foswiki/bin/view/Motion"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --sysconfdir=/etc/motion &&
20 make && make install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/etc $fs
28 cp -a $_pkg/usr/bin $fs/usr
29 chmod 0644 $fs/etc/motion/*
30 }