wok-next diff motion/receipt @ rev 14722

libdesktop-agnostic: typos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 11 22:57:55 2013 +0200 (2013-06-11)
parents 1311ba9fe4bf
children 408c87fa22ca
line diff
     1.1 --- a/motion/receipt	Fri Nov 04 00:09:32 2011 +0100
     1.2 +++ b/motion/receipt	Tue Jun 11 22:57:55 2013 +0200
     1.3 @@ -5,16 +5,19 @@
     1.4  CATEGORY="multimedia"
     1.5  SHORT_DESC="Motion is a program that monitors the video signal from cameras."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="libpthread-stubs jpeg ffmpeg"
     1.8 -BUILD_DEPENDS="$DEPENDS jpeg-dev ffmpeg-dev"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://www.lavrsen.dk/foswiki/bin/view/Motion"
    1.11  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.12  
    1.13 +DEPENDS="libpthread-stubs jpeg libv4l"
    1.14 +BUILD_DEPENDS="libpthread-stubs jpeg-dev libv4l-dev"
    1.15 +#ffmpeg --> breaks build
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20  	cd $src
    1.21 +	sed -i 's@<linux/videodev.h>@<libv4l1.h>\n#include <linux/videodev2.h>@' *.c *.h
    1.22  	./configure \
    1.23  		--sysconfdir=/etc/motion &&
    1.24  	make && make install
    1.25 @@ -23,8 +26,9 @@
    1.26  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.27  genpkg_rules()
    1.28  {
    1.29 -	mkdir -p $fs/usr
    1.30 -	cp -a $_pkg/etc $fs
    1.31 -	cp -a $_pkg/usr/bin $fs/usr
    1.32 +	mkdir -p $fs/etc/motion $fs/usr
    1.33 +	cp -a $install/usr/bin $fs/usr
    1.34 +	cp -a $stuff/motion.conf $fs/etc/motion
    1.35 +	cp -a $stuff/init.d $fs/etc
    1.36  	chmod 0644 $fs/etc/motion/*
    1.37  }