aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ivtv-utils/APKBUILD
blob: 33bccec53949d73c62d8c1b9ce228293420e67e7 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ivtv-utils
pkgver=1.4.0
pkgrel=0
pkgdesc="Userspace utilities and firmware for Hauppauge PVR cards"
url="http://ivtvdriver.org"
license="GPL"
depends=
makedepends="uclibc++-dev"
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
	export CXX=${CXX_UC:-g++-uc}
	make || return 1
	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="13deb3fe973b175a115285e63f668b95  ivtv-utils-1.4.0.tar.gz
b9a871f1c569025be9c48a77b3515faf  ivtv-firmware.tar.gz"