void-packages/srcpkgs/v4l-utils/template

30 lines
834 B
Text
Raw Normal View History

2011-08-25 08:48:36 +00:00
# Template file for 'v4l-utils'
pkgname=v4l-utils
version=0.8.5
revision=7
depends="sysfsutils"
makedepends="which libjpeg-turbo-devel libsysfs-devel qt-devel libstdc++-devel"
2011-08-25 08:48:36 +00:00
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"
2012-07-09 21:40:55 +00:00
distfiles="http://linuxtv.org/downloads/$pkgname/$pkgname-$version.tar.bz2"
2011-08-25 08:48:36 +00:00
checksum=c205848fbaf3489b97519dae04da31be4998bbc170a2ca9791357a8a549e594c
conf_files="/etc/rc_maps.cfg"
subpackages="$pkgname-devel qv4l2"
2011-08-25 08:48:36 +00:00
2012-07-09 21:40:55 +00:00
do_build() {
2011-08-25 08:48:36 +00:00
sed -i 's|CFLAGS :=|CFLAGS ?=|' Make.rules
make PREFIX=/usr ${makejobs}
}
2012-07-09 21:40:55 +00:00
do_install() {
2011-08-25 08:48:36 +00:00
make PREFIX=/usr DESTDIR=${DESTDIR} install
rm -f ${DESTDIR}/usr/bin/ivtv-ctl
chmod 0755 ${DESTDIR}/usr/lib/libv4l
2012-07-09 21:40:55 +00:00
vmkdir usr/lib
vmove "lib/*" usr/lib
2011-08-25 08:48:36 +00:00
}