blob: efb043b62d8c6292bae8c8c49583a21cefd37567 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $Id: PKGBUILD 172061 2012-11-27 13:18:13Z tomegun $
# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=v4l-utils
pkgver=0.8.9
pkgrel=1
pkgdesc="Userspace tools and conversion library for Video 4 Linux"
arch=('i686' 'x86_64' 'mips64el')
url="http://freshmeat.net/projects/libv4l"
provides=("libv4l=$pkgver")
replaces=('libv4l')
conflicts=('libv4l')
license=('LGPL')
makedepends=('qt')
optdepends=('qt')
depends=('glibc' 'gcc-libs' 'sysfsutils' 'libjpeg-turbo')
source=(http://linuxtv.org/downloads/v4l-utils/${pkgname}-${pkgver}.tar.bz2
http://linuxtv.org/downloads/v4l-utils/${pkgname}-${pkgver}.tar.bz2.asc)
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
sed -i 's|CFLAGS :=|CFLAGS ?=|' Make.rules
make PREFIX="/usr"
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make install PREFIX="/usr" DESTDIR="${pkgdir}/"
rm -f "${pkgdir}/usr/bin/ivtv-ctl"
mv "${pkgdir}/lib/udev" "${pkgdir}/usr/lib/"
rm -rf "${pkgdir}/lib"
}
md5sums=('cc4f34a1494275ed70f76f2a806dca6a'
'ae8f4ed2ca0c1e006cb8c69b5a2982f7')
|