summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/linuxtv-dvb-apps
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core-testing/linuxtv-dvb-apps')
-rw-r--r--abs/core-testing/linuxtv-dvb-apps/ChangeLog2
-rw-r--r--abs/core-testing/linuxtv-dvb-apps/PKGBUILD38
-rw-r--r--abs/core-testing/linuxtv-dvb-apps/linuxtv-dvb-apps.install12
3 files changed, 52 insertions, 0 deletions
diff --git a/abs/core-testing/linuxtv-dvb-apps/ChangeLog b/abs/core-testing/linuxtv-dvb-apps/ChangeLog
new file mode 100644
index 0000000..7fd5bbf
--- /dev/null
+++ b/abs/core-testing/linuxtv-dvb-apps/ChangeLog
@@ -0,0 +1,2 @@
+2007-06-26 tardo <tardo@nagi-fanboi.net>
+* Built for x86_64
diff --git a/abs/core-testing/linuxtv-dvb-apps/PKGBUILD b/abs/core-testing/linuxtv-dvb-apps/PKGBUILD
new file mode 100644
index 0000000..05b719b
--- /dev/null
+++ b/abs/core-testing/linuxtv-dvb-apps/PKGBUILD
@@ -0,0 +1,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
+}
diff --git a/abs/core-testing/linuxtv-dvb-apps/linuxtv-dvb-apps.install b/abs/core-testing/linuxtv-dvb-apps/linuxtv-dvb-apps.install
new file mode 100644
index 0000000..f735122
--- /dev/null
+++ b/abs/core-testing/linuxtv-dvb-apps/linuxtv-dvb-apps.install
@@ -0,0 +1,12 @@
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ echo ">>> Some initial-tuning-data files have been installed under"
+ echo ">>> /usr/share/dvb-utils/scan/"
+ echo ">>> you can use them to generate your channel.conf file"
+}
+
+op=$1
+shift
+
+$op $*