1 # $Id: PKGBUILD 65 2008-11-13 05:49:31Z djclue917 $
2 # Maintainer: Matt Parnell/ilikenwf
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" 'kernel26zen')
13 conflicts=('slmodem' 'slmodemd' 'hsfmodem')
14 provides=('hsfmodem-zen' 'hsfmodem')
15 install=hsfmodem.install
16 source=(http://www.linuxant.com/drivers/hsf/full/archive/hsfmodem-$pkgver/hsfmodem-$pkgver.tar.gz)
17 [ "$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
18 md5sums=('8f0752c3ed5d08524399da7cc600b6e4')
19 [ "$CARCH" = "x86_64" ] && md5sums[0]='85b179c3f2fd8dbf25d096f026ca22fa'
22 cd $srcdir/hsfmodem-${pkgver%full}*full/modules/
24 make CNXT_MODS_DIR=$pkgdir/lib/modules/$(uname -r)/extra modules_install || return 1
25 make CNXTLIBDIR=$pkgdir/usr/lib/hsfmodem CNXT_MODS_DIR=$pkgdir/lib/modules/$(uname -r)/extra modules_install
28 # vim:set ts=2 sw=2 et: