30 lines
878 B
Bash
30 lines
878 B
Bash
# Template file for 'v4l-utils'
|
|
pkgname=v4l-utils
|
|
version=1.6.2
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--disable-qv4l2 --with-udevdir=/usr/lib/udev"
|
|
hostmakedepends="libtool pkg-config"
|
|
makedepends="libjpeg-turbo-devel libsysfs-devel"
|
|
conf_files="/etc/rc_maps.cfg"
|
|
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=d3d6eb1f0204fb11f3d318bfca35d5f73cc077f88fac7665a47856a16496be7d
|
|
|
|
pre_configure() {
|
|
libtoolize -f
|
|
}
|
|
|
|
v4l-utils-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|