v4l-utils: switch to /usr.
This commit is contained in:
parent
50001163a0
commit
bbd77a5257
1 changed files with 7 additions and 8 deletions
|
@ -1,14 +1,14 @@
|
||||||
# Template file for 'v4l-utils'
|
# Template file for 'v4l-utils'
|
||||||
pkgname=v4l-utils
|
pkgname=v4l-utils
|
||||||
version=0.8.5
|
version=0.8.5
|
||||||
revision=5
|
revision=6
|
||||||
distfiles="http://linuxtv.org/downloads/$pkgname/$pkgname-$version.tar.bz2"
|
|
||||||
depends="sysfsutils"
|
depends="sysfsutils"
|
||||||
makedepends="which jpeg-devel libsysfs-devel qt-devel libstdc++-devel"
|
makedepends="which jpeg-devel libsysfs-devel qt-devel libstdc++-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"
|
||||||
checksum=c205848fbaf3489b97519dae04da31be4998bbc170a2ca9791357a8a549e594c
|
checksum=c205848fbaf3489b97519dae04da31be4998bbc170a2ca9791357a8a549e594c
|
||||||
long_desc="
|
long_desc="
|
||||||
v4l-utils is a collection of various video4linux (V4L) and DVB utilities.
|
v4l-utils is a collection of various video4linux (V4L) and DVB utilities.
|
||||||
|
@ -30,17 +30,16 @@ long_desc="
|
||||||
conf_files="/etc/rc_maps.cfg"
|
conf_files="/etc/rc_maps.cfg"
|
||||||
subpackages="$pkgname-devel qv4l2"
|
subpackages="$pkgname-devel qv4l2"
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
|
||||||
do_build()
|
|
||||||
{
|
|
||||||
sed -i 's|CFLAGS :=|CFLAGS ?=|' Make.rules
|
sed -i 's|CFLAGS :=|CFLAGS ?=|' Make.rules
|
||||||
make PREFIX=/usr ${makejobs}
|
make PREFIX=/usr ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install()
|
do_install() {
|
||||||
{
|
|
||||||
make PREFIX=/usr DESTDIR=${DESTDIR} 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
|
||||||
|
vmove "lib/*" usr/lib
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue