updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / hsfmodem / PKGBUILD
blob99fac76334a6d4c68456d7ecced7a237fab8bfe0
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>
5 pkgname=hsfmodem
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" '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'
19 build() {
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: