From 11cb177095e1df679acec42986cce7de9ca48c55 Mon Sep 17 00:00:00 2001 From: Andrea Brancaleoni Date: Tue, 15 Sep 2015 17:54:20 +0200 Subject: [PATCH] New package: motion-3.2.12+20140318 --- srcpkgs/motion/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/motion/template diff --git a/srcpkgs/motion/template b/srcpkgs/motion/template new file mode 100644 index 0000000000..c2473affb0 --- /dev/null +++ b/srcpkgs/motion/template @@ -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 " +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 +}