wok annotate motion/receipt @ rev 14746

Up xorg-libXrender (0.9.8), see http://www.x.org/wiki/Development/Security/Advisory-2013-05-23
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 15 14:56:22 2013 +0200 (2013-06-15)
parents 1311ba9fe4bf
children 408c87fa22ca
rev   line source
pascal@11224 1 # SliTaz package receipt.
pascal@11224 2
pascal@11224 3 PACKAGE="motion"
pascal@11224 4 VERSION="3.2.12"
pascal@11224 5 CATEGORY="multimedia"
pascal@11224 6 SHORT_DESC="Motion is a program that monitors the video signal from cameras."
pascal@11224 7 MAINTAINER="pankso@slitaz.org"
pascal@11224 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11224 9 WEB_SITE="http://www.lavrsen.dk/foswiki/bin/view/Motion"
pascal@11224 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@11224 11
pankso@13652 12 DEPENDS="libpthread-stubs jpeg libv4l"
pankso@13652 13 BUILD_DEPENDS="libpthread-stubs jpeg-dev libv4l-dev"
pankso@13652 14 #ffmpeg --> breaks build
pankso@13652 15
pascal@11224 16 # Rules to configure and make the package.
pascal@11224 17 compile_rules()
pascal@11224 18 {
pascal@11224 19 cd $src
pankso@13652 20 sed -i 's@<linux/videodev.h>@<libv4l1.h>\n#include <linux/videodev2.h>@' *.c *.h
pascal@11224 21 ./configure \
pascal@11224 22 --sysconfdir=/etc/motion &&
pascal@11224 23 make && make install
pascal@11224 24 }
pascal@11224 25
pascal@11224 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11224 27 genpkg_rules()
pascal@11224 28 {
pankso@13652 29 mkdir -p $fs/etc/motion $fs/usr
pankso@13652 30 cp -a $install/usr/bin $fs/usr
pankso@13652 31 cp -a $stuff/motion.conf $fs/etc/motion
pankso@13652 32 cp -a $stuff/init.d $fs/etc
pascal@11224 33 chmod 0644 $fs/etc/motion/*
pascal@11224 34 }