diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/v4l-utils |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/v4l-utils')
-rw-r--r-- | extra/v4l-utils/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/extra/v4l-utils/PKGBUILD b/extra/v4l-utils/PKGBUILD new file mode 100644 index 000000000..87af80c6a --- /dev/null +++ b/extra/v4l-utils/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 111480 2011-02-27 10:18:47Z thomas $ +# Maintainer: Thomas Bächler <thomas@archlinux.org> +pkgname=v4l-utils +pkgver=0.8.3 +pkgrel=1 +pkgdesc="Userspace tools and conversion library for Video 4 Linux" +arch=('i686' 'x86_64') +url="http://freshmeat.net/projects/libv4l" +provides=("libv4l=$pkgver") +replaces=('libv4l') +conflicts=('libv4l') +license=('LGPL') +makedepends=('qt') +optdepends=('qt') +depends=('glibc' 'gcc-libs' 'sysfsutils') +source=(http://linuxtv.org/downloads/v4l-utils/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('525ebed7ef6e0f6a4bb68fe10403a3725eb1ec31a4c557c68256079b00e283b5') + +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" +} |