mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 03:47:13 +08:00
39 lines
1.0 KiB
Bash
39 lines
1.0 KiB
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=v4l-utils
|
|
pkgver=0.8.5
|
|
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' 'libjpeg-turbo')
|
|
source=(http://linuxtv.org/downloads/v4l-utils/${pkgname}-${pkgver}.tar.bz2)
|
|
sha256sums=('c205848fbaf3489b97519dae04da31be4998bbc170a2ca9791357a8a549e594c')
|
|
|
|
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"
|
|
}
|