From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/ivtv-utils/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 extra/ivtv-utils/PKGBUILD (limited to 'extra/ivtv-utils/PKGBUILD') diff --git a/extra/ivtv-utils/PKGBUILD b/extra/ivtv-utils/PKGBUILD new file mode 100644 index 000000000..57d810d9d --- /dev/null +++ b/extra/ivtv-utils/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 89079 2010-08-29 10:28:03Z thomas $ +# Maintainer: Giovanni Scafora +# Contributor: Andrea Scarpino + +pkgname=ivtv-utils +pkgver=1.4.1 +pkgrel=3 +pkgdesc="Userspace utilities for Hauppauge PVR cards" +arch=('i686' 'x86_64') +license=('GPL') +url="http://ivtvdriver.org" +source=(http://dl.ivtvdriver.org/ivtv/stable/${pkgname}-${pkgver}.tar.gz + http://dl.ivtvdriver.org/ivtv/firmware/ivtv-firmware.tar.gz) +depends=('gcc-libs') +md5sums=('3a4219d698262ca2b28e41f0f547b0a2' + 'b9a871f1c569025be9c48a77b3515faf') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" PREFIX=/usr install + + cd "${srcdir}" + for file in v4l-cx2341x-dec.fw v4l-cx2341x-enc.fw v4l-pvrusb2-24xxx-01.fw v4l-pvrusb2-29xxx-01.fw v4l-cx2341x-init.mpg; do + install -D -m644 $file "${pkgdir}/lib/firmware/$file" + done + + # FS#15133 - files already provided by the kernel-headers package + rm -rf "${pkgdir}"/usr/include + # Resolve conflict with v4l-utils + rm -f "${pkgdir}"/usr/bin/v4l2-ctl +} -- cgit v1.2.3-54-g00ecf