#!/bin/sh SRC_FETCH_PATH="http://www.twam.info/wp-content/uploads/2009/04/v4l2grab.c" SRC_FETCH_METHOD="http" MAKEDEPENDS="jpeg-*:::*.a *.h" PATCH_LIST="" FILE_LIST= function do_compile_only { "$CC" -O2 -DIO_READ -DIO_MMAP -DIO_USERPTR -o v4l2grab v4l2grab.c -ljpeg } function do_prepack { mkdir -p $ROOTDIR/usr/bin cp v4l2grab $ROOTDIR/usr/bin/ set_default_perm $ROOTDIR }