summaryrefslogtreecommitdiff
path: root/repo/media/v4l-utils.xibuild
blob: bd40b23da2e0bfa2cd5cf95ec024a8dcde913363 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/sh

NAME="v4l-utils"
DESC="Userspace tools and conversion library for Video 4 Linux"

MAKEDEPS="make "
DEPS="alsa-lib libjpeg-turbo argp-standalone eudev "

PKG_VER=1.22.1
SOURCE="https://linuxtv.org/downloads/v4l-utils/v4l-utils-$PKG_VER.tar.bz2"
ADDITIONAL="fix_parse_next_subopt.patch types.patch "

prepare () {
    apply_patches
}

build () {
    ./configure \
        --prefix=/usr
        --bindir=/usr/bin \
        --sysconfdir=/etc \
        --disable-static \
        --enable-libdvbv5 
    make
}

package () {
    make DESTDIR=$PKG_DEST install
}