2014-12-11 20:48:49 +01:00
|
|
|
# Template file for 'v4l2grab'
|
|
|
|
pkgname=v4l2grab
|
|
|
|
version=0.4.1
|
2015-05-17 15:56:01 +02:00
|
|
|
revision=3
|
2014-12-11 20:48:49 +01:00
|
|
|
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
|
|
|
|
}
|