2011-08-25 10:48:36 +02:00
|
|
|
# Template file for 'v4l-utils'
|
|
|
|
pkgname=v4l-utils
|
2014-07-03 12:50:37 +02:00
|
|
|
version=1.2.1
|
|
|
|
revision=1
|
2013-05-04 18:39:25 +02:00
|
|
|
build_style=gnu-configure
|
2014-02-28 09:44:57 +01:00
|
|
|
configure_args="--disable-qv4l2 --with-udevdir=/usr/lib/udev"
|
|
|
|
hostmakedepends="libtool which pkg-config"
|
|
|
|
makedepends="libjpeg-turbo-devel libsysfs-devel"
|
2014-01-01 16:10:11 +01:00
|
|
|
conf_files="/etc/rc_maps.cfg"
|
2011-08-25 10:48:36 +02: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 23:40:55 +02:00
|
|
|
distfiles="http://linuxtv.org/downloads/$pkgname/$pkgname-$version.tar.bz2"
|
2014-07-03 12:50:37 +02:00
|
|
|
checksum=9b658fbcaaf8127115316e07fea314aebc21dd6dc3491cd8753a768521c4b9af
|
2014-03-09 10:26:55 +01:00
|
|
|
|
2014-02-28 09:44:57 +01:00
|
|
|
pre_configure() {
|
|
|
|
libtoolize -f
|
2011-08-25 10:48:36 +02:00
|
|
|
}
|
2013-04-14 16:51:01 +02:00
|
|
|
|
|
|
|
v4l-utils-devel_package() {
|
2014-02-28 09:44:57 +01:00
|
|
|
depends="libjpeg-turbo-devel libsysfs-devel ${sourcepkg}>=${version}_${revision}"
|
2013-05-04 18:39:25 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-14 16:51:01 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-28 09:44:57 +01:00
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
2013-04-14 16:51:01 +02:00
|
|
|
}
|
|
|
|
}
|