void-packages/srcpkgs/v4l-utils/template

30 lines
834 B
Plaintext

# Template file for 'v4l-utils'
pkgname=v4l-utils
version=0.8.9
revision=1
depends="sysfsutils"
makedepends="which libjpeg-turbo-devel libsysfs-devel qt-devel libstdc++-devel"
short_desc="Userspace tools and libraries for Video 4 Linux"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://freshmeat.net/projects/libv4l"
license="GPL-2, LGPL-2.1"
distfiles="http://linuxtv.org/downloads/$pkgname/$pkgname-$version.tar.bz2"
checksum=3e5511c252b3c320d0b03418f7ee19b42d00ed0871c6b525779007416e46d08e
conf_files="/etc/rc_maps.cfg"
subpackages="$pkgname-devel qv4l2"
do_build() {
sed -i 's|CFLAGS :=|CFLAGS ?=|' Make.rules
make PREFIX=/usr ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
rm -f ${DESTDIR}/usr/bin/ivtv-ctl
chmod 0755 ${DESTDIR}/usr/lib/libv4l
vmkdir usr/lib
vmove "lib/*" usr/lib
}