summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2014-02-17 00:01:55 (GMT)
committerJames Meyer <james.meyer@operamail.com>2014-02-19 19:03:04 (GMT)
commit573f7604c1e3473553c69330c5580cf800d4c8ac (patch)
tree53bbbed8a2bc0c2aad6efc8d1de04dcdb0afa62d
parent15471fc26d53c9431ebf69b06bb6ac0036484d54 (diff)
downloadlinhes_pkgbuild-573f7604c1e3473553c69330c5580cf800d4c8ac.zip
linhes_pkgbuild-573f7604c1e3473553c69330c5580cf800d4c8ac.tar.gz
linhes_pkgbuild-573f7604c1e3473553c69330c5580cf800d4c8ac.tar.bz2
v4l-utils: 1.0
update binary path to /usr/bin refs #961
-rw-r--r--abs/core/v4l-utils/PKGBUILD22
1 files changed, 10 insertions, 12 deletions
diff --git a/abs/core/v4l-utils/PKGBUILD b/abs/core/v4l-utils/PKGBUILD
index 62ec3d6..72ff71a 100644
--- a/abs/core/v4l-utils/PKGBUILD
+++ b/abs/core/v4l-utils/PKGBUILD
@@ -1,35 +1,33 @@
-# $Id: PKGBUILD 158613 2012-05-05 03:14:18Z allan $
+# $Id: PKGBUILD 196834 2013-10-20 12:03:29Z thomas $
# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=v4l-utils
-pkgver=0.8.8
-pkgrel=1
+pkgver=1.0.0
+pkgrel=2
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')
+backup=(etc/rc_maps.cfg)
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)
+sha256sums=('1de3882099e04e89e354675ee408b82c8ac8afd3ca6ab27ea321771901285f30'
+ 'SKIP')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- sed -i 's|CFLAGS :=|CFLAGS ?=|' Make.rules
-
- make PREFIX="/usr"
+ ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
+ make
}
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"
+ MAKEFLAGS="-j1" make install DESTDIR="${pkgdir}/"
+ rm "${pkgdir}/usr/bin/ivtv-ctl"
}
-md5sums=('40fdda3f4055ed818012d7a7b5ef5be5'
- 'cceb1325f35789c95f875b705b3eb373')