blob: 9e4f1c331f6c730266b7c91d3950d9805c15e395 (
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
30
31
32
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ivtv-utils
pkgver=1.4.1
pkgrel=0
pkgdesc="Userspace utilities and firmware for Hauppauge PVR cards"
url="http://ivtvdriver.org"
arch="x86 x86_64"
license="GPL"
depends=
makedepends=
source="http://dl.ivtvdriver.org/ivtv/stable/$pkgname-$pkgver.tar.gz
http://dl.ivtvdriver.org/ivtv/firmware/ivtv-firmware.tar.gz"
build ()
{
cd "$srcdir"/$pkgname-$pkgver
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" PREFIX=/usr install || return 1
cd "$srcdir"
for file in *.fw v4l-cx2341x-init.mpg; do
install -D -m644 $file "$pkgdir"/lib/firmware/$file || return 1
done
rm -rf "$pkgdir"/usr/include
}
md5sums="3a4219d698262ca2b28e41f0f547b0a2 ivtv-utils-1.4.1.tar.gz
b9a871f1c569025be9c48a77b3515faf ivtv-firmware.tar.gz"
|