diff --git a/srcpkgs/v4l-utils/template b/srcpkgs/v4l-utils/template index e449a1860b..621559a994 100644 --- a/srcpkgs/v4l-utils/template +++ b/srcpkgs/v4l-utils/template @@ -1,14 +1,14 @@ # Template file for 'v4l-utils' pkgname=v4l-utils version=0.8.5 -revision=5 -distfiles="http://linuxtv.org/downloads/$pkgname/$pkgname-$version.tar.bz2" +revision=6 depends="sysfsutils" makedepends="which jpeg-devel libsysfs-devel qt-devel libstdc++-devel" short_desc="Userspace tools and libraries for Video 4 Linux" maintainer="Juan RP " homepage="http://freshmeat.net/projects/libv4l" license="GPL-2, LGPL-2.1" +distfiles="http://linuxtv.org/downloads/$pkgname/$pkgname-$version.tar.bz2" checksum=c205848fbaf3489b97519dae04da31be4998bbc170a2ca9791357a8a549e594c long_desc=" v4l-utils is a collection of various video4linux (V4L) and DVB utilities. @@ -30,17 +30,16 @@ long_desc=" conf_files="/etc/rc_maps.cfg" subpackages="$pkgname-devel qv4l2" - - -do_build() -{ +do_build() { sed -i 's|CFLAGS :=|CFLAGS ?=|' Make.rules make PREFIX=/usr ${makejobs} } -do_install() -{ +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 }