Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Dec 24th, 2010  |  syntax: Bash  |  size: 0.99 KB  |  hits: 151  |  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. pkgname=hsfmodem
  2. pkgver=7.80.02.06full
  3. pkgrel=1
  4. pkgdesc="Linux drivers for the Conexant HSF Softmodem family (kernel modules)"
  5. arch=('i686' 'x86_64')
  6. url="http://www.linuxant.com/drivers/hsf/"
  7. license=('GPL' 'custom')
  8. depends=("hsfmodem-utils>=$pkgver" 'kernel26')
  9. install=hsfmodem.install
  10.  
  11. case "$CARCH" in
  12.   i686)
  13.     source=("http://www.linuxant.com/drivers/hsf/full/archive/hsfmodem-${pkgver}/hsfmodem-${pkgver}.tar.gz")
  14.     md5sums=('8eb0935e86b898190bf20c08894af17e')
  15.     ;;
  16.   x86_64)
  17.     source=("http://www.linuxant.com/drivers/hsf/full/archive/hsfmodem-${pkgver%full}${CARCH}full/hsfmodem-${pkgver%full}${CARCH}full.tar.gz")
  18.     md5sums=('74df1a0af818a918a68b38bf9a01599b')
  19.     ;;
  20. esac
  21.  
  22. build() {
  23.   cd $srcdir/hsfmodem-${pkgver%full}*full/modules/
  24.  
  25.   make CNXT_MODS_DIR=$pkgdir/lib/modules/$(uname -r)/extra modules_install || return 1
  26.   make CNXTLIBDIR=$pkgdir/usr/lib/hsfmodem CNXT_MODS_DIR=$pkgdir/lib/modules/$(uname -r)/extra modules_install
  27. }
  28.  
  29. # vim:set ts=2 sw=2 et: