37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
# Template file for 'v4l-utils'
|
|
pkgname=v4l-utils
|
|
version=1.12.4
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--sbindir=/usr/bin --disable-qv4l2 --with-udevdir=/usr/lib/udev"
|
|
hostmakedepends="automake libtool pkg-config gettext-devel"
|
|
makedepends="libjpeg-turbo-devel libsysfs-devel eudev-libudev-devel alsa-lib-devel"
|
|
conf_files="/etc/rc_maps.cfg"
|
|
short_desc="Userspace tools and libraries for Video 4 Linux"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="http://freshmeat.net/projects/libv4l"
|
|
license="GPL-2, LGPL-2.1"
|
|
distfiles="http://linuxtv.org/downloads/$pkgname/$pkgname-$version.tar.bz2"
|
|
checksum=96ee79b35c54c175f39c9303ab71c5e46f07b2ad688f4aaa64f11a1e3ad579cc
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) makedepends+=" argp-standalone"
|
|
CFLAGS="-D__off_t=off_t -D__off64_t=off_t"
|
|
LDFLAGS="-largp"
|
|
;;
|
|
esac
|
|
|
|
pre_configure() {
|
|
autoreconf -if
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|