summaryrefslogtreecommitdiffstats
path: root/abs/core/libhdhomerun/PKGBUILD
diff options
context:
space:
mode:
authorMichael Hanson <hansonorders@verizon.net>2010-12-01 23:04:37 (GMT)
committerMichael Hanson <hansonorders@verizon.net>2010-12-01 23:04:37 (GMT)
commit452dcf988d23dd3fc13d31c6c3c884c85478034b (patch)
treebe66a4d5da7a5f956c951d8f7c5e4e70c1b61f12 /abs/core/libhdhomerun/PKGBUILD
parentf6dc96b185ecd32d17f1675757de10410dbfed8d (diff)
downloadlinhes_pkgbuild-452dcf988d23dd3fc13d31c6c3c884c85478034b.zip
linhes_pkgbuild-452dcf988d23dd3fc13d31c6c3c884c85478034b.tar.gz
linhes_pkgbuild-452dcf988d23dd3fc13d31c6c3c884c85478034b.tar.bz2
libhdhomerun: upgrade & change pkg 'hdhomerun' to 'libhdhomerun'
also includes the hdhomerun_config_gui for those fearful of the commandline
Diffstat (limited to 'abs/core/libhdhomerun/PKGBUILD')
-rwxr-xr-xabs/core/libhdhomerun/PKGBUILD42
1 files changed, 42 insertions, 0 deletions
diff --git a/abs/core/libhdhomerun/PKGBUILD b/abs/core/libhdhomerun/PKGBUILD
new file mode 100755
index 0000000..69986df
--- /dev/null
+++ b/abs/core/libhdhomerun/PKGBUILD
@@ -0,0 +1,42 @@
+pkgname=libhdhomerun
+pkgver=20100828
+pkgrel=1
+pkgdesc="utils and firmware needed for the hdhomerun"
+arch=('i686' 'x86_64')
+url="http://www.silicondust.com"
+license=('GPL3')
+makedepends=('gtk2')
+optdepends=('gtk2: for using hdhomerun_config_gui')
+replaces=('hdhomerun')
+firmware=hdhomerun_atsc_firmware_${pkgver}.bin
+firmware2=hdhomerun_dvbt_firmware_${pkgver}.bin
+firmware3=hdhomerun_tech_atsc_firmware_${pkgver}.bin
+url2=http://download.silicondust.com/hdhomerun
+source=("${url2}/libhdhomerun_${pkgver}.tgz"
+ "${url2}/${firmware}"
+ "${url2}/${firmware2}"
+ "${url2}/${firmware3}"
+ "${url2}/hdhomerun_config_gui_${pkgver}.tgz")
+
+build() {
+ cd ${srcdir}/libhdhomerun
+ make || return 1
+ cd ${srcdir}/hdhomerun_config_gui
+ ./configure --prefix=/usr || return 1
+ make || return 1
+}
+
+package() {
+ cd ${srcdir}/libhdhomerun
+ install -D -m755 hdhomerun_config ${pkgdir}/usr/bin/hdhomerun_config
+ cd ${srcdir}/hdhomerun_config_gui
+ make DESTDIR=${pkgdir} install || return 1
+ cd ${srcdir}
+ mkdir -p ${pkgdir}/lib/firmware
+ cp ${srcdir}/*.bin ${pkgdir}/lib/firmware/
+}
+md5sums=('3923ea7f88504271f76117aa608062e2'
+ 'bfc6b2fc80680795dac0c642807963ad'
+ '99f422cf78a6f0ee79647c75c4ea9b5b'
+ '4e2e693057f9251873558fcec2522b46'
+ '6c602c5d11eff26c70a707f6559d3f3f')