1 # $Id: PKGBUILD 65 2008-11-13 05:49:31Z djclue917 $
2 # Maintainer: Darwin Bautista <djclue917@gmail.com>
3 # Contributor: Darwin Bautista <djclue917@gmail.com>
8 pkgdesc="Linux drivers for the Conexant HSF Softmodem family (kernel modules)"
10 url="http://www.linuxant.com/drivers/hsf/"
11 license=('GPL' 'custom')
12 depends=("hsfmodem-utils>=$pkgver" 'kernel26')
13 install=hsfmodem.install
14 source=(http://www.linuxant.com/drivers/hsf/full/archive/hsfmodem-$pkgver/hsfmodem-$pkgver.tar.gz)
15 [ "$CARCH" = "x86_64" ] && source[0]=http://www.linuxant.com/drivers/hsf/full/archive/hsfmodem-${pkgver%full}x86_64full/hsfmodem-${pkgver%full}x86_64full.tar.gz
16 md5sums=('8f0752c3ed5d08524399da7cc600b6e4')
17 [ "$CARCH" = "x86_64" ] && md5sums[0]='85b179c3f2fd8dbf25d096f026ca22fa'
20 cd $srcdir/hsfmodem-${pkgver%full}*full/modules/
22 make CNXT_MODS_DIR=$pkgdir/lib/modules/$(uname -r)/extra modules_install || return 1
23 make CNXTLIBDIR=$pkgdir/usr/lib/hsfmodem CNXT_MODS_DIR=$pkgdir/lib/modules/$(uname -r)/extra modules_install
26 # vim:set ts=2 sw=2 et: