New package: v4l2grab-0.4.1

This commit is contained in:
Christian Neukirchen 2014-12-11 20:48:49 +01:00
parent 4d9beaec99
commit 98c02e9d08
1 changed files with 21 additions and 0 deletions

21
srcpkgs/v4l2grab/template Normal file
View File

@ -0,0 +1,21 @@
# Template file for 'v4l2grab'
pkgname=v4l2grab
version=0.4.1
revision=1
makedepends="libjpeg-turbo-devel v4l-utils-devel"
short_desc="Utility for grabbing JPEGs from V4L2 devices"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-2"
homepage="http://github.com/twam/v4l2grab"
distfiles="https://github.com/twam/${pkgname}/archive/${version}.tar.gz"
checksum=eac1cf81a4e5c136e7cacf0b2fd8240e5a6f148df1170cc7acf9661654fe78f8
do_build() {
true >config.h
${CC} ${CFLAGS} -DVERSION="\"${version}\"" -o v4l2grab *.c \
-ljpeg -lv4l2 ${LDFLAGS}
}
do_install() {
vbin v4l2grab
}