wok annotate motion/receipt @ rev 15971
curl: add to ARM arch
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 26 23:23:36 2014 +0100 (2014-02-26) |
parents | 3c13a1e665f2 |
children | dca10c877d95 |
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@15001 | 8 LICENSE="GPL2" |
pascal@11224 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11224 | 10 WEB_SITE="http://www.lavrsen.dk/foswiki/bin/view/Motion" |
pascal@11224 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11224 | 12 |
pankso@13652 | 13 DEPENDS="libpthread-stubs jpeg libv4l" |
pankso@13652 | 14 BUILD_DEPENDS="libpthread-stubs jpeg-dev libv4l-dev" |
pankso@13652 | 15 #ffmpeg --> breaks build |
pankso@13652 | 16 |
pascal@11224 | 17 # Rules to configure and make the package. |
pascal@11224 | 18 compile_rules() |
pascal@11224 | 19 { |
pascal@11224 | 20 cd $src |
pankso@13652 | 21 sed -i 's@<linux/videodev.h>@<libv4l1.h>\n#include <linux/videodev2.h>@' *.c *.h |
pascal@11224 | 22 ./configure \ |
pascal@11224 | 23 --sysconfdir=/etc/motion && |
pascal@11224 | 24 make && make install |
pascal@11224 | 25 } |
pascal@11224 | 26 |
pascal@11224 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11224 | 28 genpkg_rules() |
pascal@11224 | 29 { |
pankso@13652 | 30 mkdir -p $fs/etc/motion $fs/usr |
pankso@13652 | 31 cp -a $install/usr/bin $fs/usr |
pankso@13652 | 32 cp -a $stuff/motion.conf $fs/etc/motion |
pankso@13652 | 33 cp -a $stuff/init.d $fs/etc |
pascal@11224 | 34 chmod 0644 $fs/etc/motion/* |
pascal@11224 | 35 } |