This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

libhdhomerun PKGBUILD

By: a guest on May 8th, 2012  |  syntax: None  |  size: 0.77 KB  |  views: 60  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Garrett Ward <glward1 at gmail dot com>
  2. # Mainainer: Ryan Corder <ryanc@greengrey.org>
  3.  
  4. pkgname=libhdhomerun
  5. pkgver=20120405
  6. pkgrel=1
  7. pkgdesc="Library for interfacing with HDHomeRun device"
  8. arch=('i686' 'x86_64')
  9. url="http://www.silicondust.com/downloads/"
  10. license=('LGPL')
  11. source=("http://download.silicondust.com/hdhomerun/${pkgname}_${pkgver}.tgz")
  12. md5sums=('4036d144c726d82b10986533de8c619d')
  13.  
  14. build() {
  15.   cd $startdir/src/$pkgname
  16.  
  17.   make || return 1
  18.  
  19.   mkdir -m 0755 -p $startdir/pkg/usr/lib || return 1
  20.   mkdir -m 0755 -p $startdir/pkg/usr/bin || return 1
  21.  
  22.   install -m 755 libhdhomerun.so $startdir/pkg/usr/lib/libhdhomerun.so || return 1
  23.   install -m 755 hdhomerun_config $startdir/pkg/usr/bin/hdhomerun_config || return 1
  24. }
clone this paste RAW Paste Data