diff options
author | Michael Hanson <hansonorders@verizon.net> | 2011-02-09 03:53:51 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2011-02-09 03:53:51 (GMT) |
commit | ef11eb6b507eb99358dec7c33daaddd8536ebdb4 (patch) | |
tree | 7a5971bb89dafa6ec4accb98830a8b976671dfe9 /abs/core/v4l-utils | |
parent | b516ea7067d5f1193476dedc5dad7d82008446a1 (diff) | |
parent | a4bb0fdbcfcd42cbe2dfce9e0d28513d11c75107 (diff) | |
download | linhes_pkgbuild-ef11eb6b507eb99358dec7c33daaddd8536ebdb4.zip linhes_pkgbuild-ef11eb6b507eb99358dec7c33daaddd8536ebdb4.tar.gz linhes_pkgbuild-ef11eb6b507eb99358dec7c33daaddd8536ebdb4.tar.bz2 |
Merge branch 'testing' of knoppmyth.net:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/v4l-utils')
-rw-r--r-- | abs/core/v4l-utils/PKGBUILD | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/abs/core/v4l-utils/PKGBUILD b/abs/core/v4l-utils/PKGBUILD new file mode 100644 index 0000000..a43df65 --- /dev/null +++ b/abs/core/v4l-utils/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 90013 2010-09-06 06:34:17Z thomas $ +# Maintainer: Thomas Bächler <thomas@archlinux.org> +pkgname=v4l-utils +pkgver=0.8.1 +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=('2b03003f1e081c5c98d1fe287c0d88a6c720ca972c4d80a1782146bbde1ac5ea') + +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" +} |