Merge pull request #2528 from thypon/motion

New package: motion-3.2.12+20140318
This commit is contained in:
Andrea Brancaleoni 2015-09-15 19:07:53 +02:00
commit 3c9e052258

25
srcpkgs/motion/template Normal file
View File

@ -0,0 +1,25 @@
# Template file for 'motion'
pkgname=motion
version=3.2.12+20140318
revision=1
build_style=gnu-configure
hostmakedepends="automake"
makedepends="v4l-utils-devel zlib-devel"
short_desc="A motion detector software"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="GPL-2"
homepage="http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome"
_commit=ad7e243fcaee500f67297305d9235556fb4270b9
wrksrc="$pkgname-$_commit"
distfiles="https://github.com/sackmotion/motion/archive/${_commit}.tar.gz"
checksum=67e99398f0941012ee909a98673b9473b69780bf3b8a971594fcfa255ed4efeb
if [ -z "$CROSS_BUILD" ]; then
configure_args="--enable-ffmpeg"
hostmakedepends+=" ffmpeg-devel"
makedepends+=" ffmpeg-devel"
fi
pre_configure() {
autoreconf -fi
}