New package: motion-3.2.12+20140318

This commit is contained in:
Andrea Brancaleoni 2015-09-15 17:54:20 +02:00
parent b93c6f506d
commit 11cb177095

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
}