v4l-utils: switch to /usr.

This commit is contained in:
Juan RP 2012-07-09 23:40:55 +02:00
parent 50001163a0
commit bbd77a5257

View file

@ -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 <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=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
}