updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / hsfmodem-zen / PKGBUILD
blobd9431ef4cb1beaf40189d78f35e87e81d4488c4e
1 # $Id: PKGBUILD 65 2008-11-13 05:49:31Z djclue917 $
2 # Maintainer: Matt Parnell/ilikenwf
3 # Contributor: Darwin Bautista <djclue917@gmail.com>
5 pkgname=hsfmodem-zen
6 pkgver=7.68.00.14full
7 pkgrel=1
8 pkgdesc="Linux drivers for the Conexant HSF Softmodem family (kernel modules)"
9 arch=('i686' 'x86_64')
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'
21 build() {
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: