summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/linuxtv-dvb-apps/PKGBUILD
blob: 05b719b8e15cd2548bdf0b473df1a552d9cc2254 (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
37
38
# $Id: PKGBUILD,v 1.2 2007/06/27 02:00:07 tardo Exp $
# Contributor: Jaroslaw Swierczynski <swiergot@juvepoland.com>
# Contributor: Camille Moncelier <pix@devlife.org>

pkgname=linuxtv-dvb-apps
pkgver=1.1.1
pkgrel=1
pkgdesc="Viewer programs for DVB cards"
arch=('i686' 'x86_64')
url="http://www.linuxtv.org/"
license=('GPL')
depends=(glibc)
install=linuxtv-dvb-apps.install
source=(http://www.linuxtv.org/download/dvb/$pkgname-$pkgver.tar.bz2)
md5sums=('de958cdb8d00e74792dd69f3c945b037')

build() {
	cd $startdir/src/$pkgname-$pkgver
	rm -rf include
	make || return 1
	install -m 755 -d $startdir/pkg/usr/{bin,share/dvb-utils/{scan/{atsc,dvb-{c,s,t}},av7110_loadkeys}}
	install -m 755 util/av7110_loadkeys/av7110_loadkeys $startdir/pkg/usr/bin
	install -m 755 util/av7110_loadkeys/evtest $startdir/pkg/usr/bin
	install -m 644 util/av7110_loadkeys/*.rc* $startdir/pkg/usr/share/dvb-utils/av7110_loadkeys
	install -m 755 util/dvbdate/dvbdate $startdir/pkg/usr/bin
	install -m 755 util/dvbnet/dvbnet $startdir/pkg/usr/bin
	install -m 755 util/dvbtraffic/dvbtraffic $startdir/pkg/usr/bin
	install -m 755 util/scan/scan $startdir/pkg/usr/bin
	install -m 644 util/scan/atsc/* $startdir/pkg/usr/share/dvb-utils/scan/atsc
	install -m 644 util/scan/dvb-c/* $startdir/pkg/usr/share/dvb-utils/scan/dvb-c
	install -m 644 util/scan/dvb-s/* $startdir/pkg/usr/share/dvb-utils/scan/dvb-s
	install -m 644 util/scan/dvb-t/* $startdir/pkg/usr/share/dvb-utils/scan/dvb-t
	install -m 755 util/szap/azap $startdir/pkg/usr/bin
	install -m 755 util/szap/czap $startdir/pkg/usr/bin
	install -m 755 util/szap/femon $startdir/pkg/usr/bin
	install -m 755 util/szap/szap $startdir/pkg/usr/bin
	install -m 755 util/szap/tzap $startdir/pkg/usr/bin
}