v4l-utils: update to 0.9.5.
This commit is contained in:
parent
f529fa7a4a
commit
cfde772311
1 changed files with 11 additions and 17 deletions
|
@ -1,35 +1,30 @@
|
||||||
# Template file for 'v4l-utils'
|
# Template file for 'v4l-utils'
|
||||||
pkgname=v4l-utils
|
pkgname=v4l-utils
|
||||||
version=0.8.9
|
version=0.9.5
|
||||||
revision=2
|
revision=1
|
||||||
makedepends="which libjpeg-turbo-devel libsysfs-devel qt-devel libstdc++-devel"
|
build_style=gnu-configure
|
||||||
|
configure_args="--with-udevdir=/usr/lib/udev"
|
||||||
|
hostmakedepends="which pkg-config"
|
||||||
|
makedepends="libjpeg-turbo-devel libsysfs-devel qt-devel"
|
||||||
short_desc="Userspace tools and libraries for Video 4 Linux"
|
short_desc="Userspace tools and libraries for Video 4 Linux"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://freshmeat.net/projects/libv4l"
|
homepage="http://freshmeat.net/projects/libv4l"
|
||||||
license="GPL-2, LGPL-2.1"
|
license="GPL-2, LGPL-2.1"
|
||||||
distfiles="http://linuxtv.org/downloads/$pkgname/$pkgname-$version.tar.bz2"
|
distfiles="http://linuxtv.org/downloads/$pkgname/$pkgname-$version.tar.bz2"
|
||||||
checksum=3e5511c252b3c320d0b03418f7ee19b42d00ed0871c6b525779007416e46d08e
|
checksum=6c9f1be981d5763069e0969ebe426c39da5a7d738865367e390e3b486f1b502c
|
||||||
|
|
||||||
do_build() {
|
post_install() {
|
||||||
sed -i 's|CFLAGS :=|CFLAGS ?=|' Make.rules
|
|
||||||
make PREFIX=/usr ${makejobs}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install() {
|
|
||||||
make PREFIX=/usr DESTDIR=${DESTDIR} install
|
|
||||||
rm -f ${DESTDIR}/usr/bin/ivtv-ctl
|
rm -f ${DESTDIR}/usr/bin/ivtv-ctl
|
||||||
chmod 0755 ${DESTDIR}/usr/lib/libv4l
|
chmod 0755 ${DESTDIR}/usr/lib/libv4l
|
||||||
|
|
||||||
vmkdir usr/lib
|
|
||||||
mv ${DESTDIR}/lib/* ${DESTDIR}/usr/lib
|
|
||||||
}
|
}
|
||||||
|
|
||||||
v4l-utils-devel_package() {
|
v4l-utils-devel_package() {
|
||||||
depends="libjpeg-turbo-devel libsysfs-devel v4l-utils>=${version}"
|
depends="libjpeg-turbo-devel libsysfs-devel v4l-utils>=${version}"
|
||||||
short_desc="${short_desc} - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove "usr/lib/*.a"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -46,7 +41,6 @@ v4l-utils_package() {
|
||||||
depends="sysfsutils"
|
depends="sysfsutils"
|
||||||
conf_files="/etc/rc_maps.cfg"
|
conf_files="/etc/rc_maps.cfg"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove etc
|
vmove all
|
||||||
vmove usr
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue