aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ivtv-utils/APKBUILD
blob: 18b9ec6c2e5027dd1d763afeef721a223ef43487 (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
33
34
35
36
# 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="all"
license="GPL2+"
depends=""
makedepends=""
source="http://dl.ivtvdriver.org/ivtv/stable/$pkgname-$pkgver.tar.gz
	http://dl.ivtvdriver.org/ivtv/firmware/ivtv-firmware.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver
build () {
	cd "$_builddir"
	make || return 1
}

package() {
	cd "$_builddir"
	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"
sha256sums="8eebe8bda62f348779c24522f78fb3c0231e33d303b6381185eeb795fe761ef6  ivtv-utils-1.4.1.tar.gz
f9c4250658b24579b9f726bf44097d1728c4a5db3bce64ee9fd0c5e8ff2a79f1  ivtv-firmware.tar.gz"
sha512sums="719c922fb819ba7f0ca3d4bbede571c416dc9f282bd8a7e2fbe7d9b4298541a104f8a848e113379eeec052206658b7a0a2e0eea1b7917e90f2aee37fe0010bed  ivtv-utils-1.4.1.tar.gz
1ad00fb55721f5161e0b64d04ea004cd0e24f31b3c47cadb181c0a8f24a0064356b56479cd54d834d4575f6cb5d826bca5fd061634b1e10f0e4b5737c1fb192b  ivtv-firmware.tar.gz"