mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 06:34:36 +08:00
22 lines
711 B
Bash
22 lines
711 B
Bash
# $Id: PKGBUILD 67896 2010-02-09 12:39:02Z thomas $
|
|
# Maintainer: Thomas Baechler <thomas@archlinux.org>
|
|
pkgname=libv4l
|
|
pkgver=0.6.4
|
|
pkgrel=1
|
|
pkgdesc="Userspace library for Video 4 Linux (1 and 2)"
|
|
arch=('i686' 'x86_64')
|
|
url="http://hansdegoede.livejournal.com/3636.html"
|
|
license=('LGPL')
|
|
depends=('glibc')
|
|
source=(http://people.fedoraproject.org/~jwrdegoede/${pkgname}-${pkgver}.tar.gz)
|
|
sha256sums=('d24bc2b14a4a631d6d07f73992508bed0360b6f5d96bc95af93c44d67cb6e53a')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
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
|
|
}
|