void-packages/srcpkgs/v4l-utils/template

42 lines
1.1 KiB
Text
Raw Normal View History

2011-08-25 08:48:36 +00:00
# Template file for 'v4l-utils'
pkgname=v4l-utils
version=1.0.1
revision=3
2013-05-04 16:39:25 +00:00
build_style=gnu-configure
configure_args="--disable-qv4l2 --with-udevdir=/usr/lib/udev"
hostmakedepends="libtool which pkg-config"
makedepends="libjpeg-turbo-devel libsysfs-devel"
conf_files="/etc/rc_maps.cfg"
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"
checksum=fc0132e82a18dfad9619be3abf50c206e2f449b1c14440cde36f25874fdce7df
2011-08-25 08:48:36 +00:00
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
configure_args+=" --libdir=/usr/lib32"
pre_install() {
vmkdir usr/lib
ln -s lib ${DESTDIR}/usr/lib32
}
post_install() {
rm ${DESTDIR}/usr/lib32
}
fi
pre_configure() {
libtoolize -f
2011-08-25 08:48:36 +00:00
}
v4l-utils-devel_package() {
depends="libjpeg-turbo-devel libsysfs-devel ${sourcepkg}>=${version}_${revision}"
2013-05-04 16:39:25 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/*.a
vmove usr/lib/*.so
}
}