wok-next annotate motion/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 10df65db91ad
children
rev   line source
al@20534 1 # SliTaz package receipt v2.
pascal@11224 2
pascal@11224 3 PACKAGE="motion"
pascal@11224 4 VERSION="3.2.12"
pascal@11224 5 CATEGORY="multimedia"
al@21020 6 SHORT_DESC="Monitor the video signal from cameras"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
al@20534 9 WEB_SITE="http://www.lavrsen.dk/foswiki/bin/view/Motion"
al@20534 10
pascal@11224 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11224 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@11224 13
al@20604 14 BUILD_DEPENDS="libpthread-stubs jpeg-dev v4l-utils-dev"
pankso@13652 15 #ffmpeg --> breaks build
pankso@13652 16
al@20534 17 compile_rules() {
pankso@13652 18 sed -i 's@<linux/videodev.h>@<libv4l1.h>\n#include <linux/videodev2.h>@' *.c *.h
pascal@11224 19 ./configure \
pascal@11224 20 --sysconfdir=/etc/motion &&
al@20534 21 make &&
al@20534 22 make install || return 1
al@20534 23
al@20534 24 install -Dm644 $stuff/motion.conf $install/etc/motion/motion.conf
al@20534 25 install -Dm755 $stuff/init.d/motion $install/etc/init.d/motion
pascal@11224 26 }
pascal@11224 27
al@20534 28 genpkg_rules() {
al@20534 29 copy @std
al@20604 30 DEPENDS="libpthread-stubs jpeg v4l-utils"
pascal@11224 31 }