[arch-commits] Commit in libv4l/trunk (PKGBUILD)
Ionut Biru
ibiru at archlinux.org
Sat Dec 5 15:17:50 UTC 2009
Date: Saturday, December 5, 2009 @ 10:17:50
Author: ibiru
Revision: 60608
upgpkg: libv4l 0.6.3-2
FS#17327 Fix for LIBDIR and use CFLAGS
Modified:
libv4l/trunk/PKGBUILD
----------+
PKGBUILD | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-12-05 14:59:33 UTC (rev 60607)
+++ PKGBUILD 2009-12-05 15:17:50 UTC (rev 60608)
@@ -2,7 +2,7 @@
# Maintainer: Thomas Baechler <thomas at archlinux.org>
pkgname=libv4l
pkgver=0.6.3
-pkgrel=1
+pkgrel=2
pkgdesc="Userspace library for Video 4 Linux (1 and 2)"
arch=('i686' 'x86_64')
url="http://hansdegoede.livejournal.com/3636.html"
@@ -14,6 +14,8 @@
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make || return 1
+ sed -i 's|CFLAGS :=|CFLAGS ?=|' libv4l1/Makefile libv4l2/Makefile libv4lconvert/Makefile
+
+ make LIBDIR="/usr/lib" || return 1
make install PREFIX="/usr" DESTDIR="${pkgdir}/" || return 1
}
More information about the arch-commits
mailing list