21 lines
600 B
Text
21 lines
600 B
Text
# Template file for 'v4l2grab'
|
|
pkgname=v4l2grab
|
|
version=0.4.1
|
|
revision=2
|
|
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
|
|
}
|