Merge pull request #2528 from thypon/motion
New package: motion-3.2.12+20140318
This commit is contained in:
commit
3c9e052258
1 changed files with 25 additions and 0 deletions
25
srcpkgs/motion/template
Normal file
25
srcpkgs/motion/template
Normal 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
|
||||
}
|
Loading…
Reference in a new issue