Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pkgname=hsfmodem
- pkgver=7.80.02.06full
- pkgrel=1
- pkgdesc="Linux drivers for the Conexant HSF Softmodem family (kernel modules)"
- arch=('i686' 'x86_64')
- url="http://www.linuxant.com/drivers/hsf/"
- license=('GPL' 'custom')
- depends=("hsfmodem-utils>=$pkgver" 'kernel26')
- install=hsfmodem.install
- case "$CARCH" in
- i686)
- source=("http://www.linuxant.com/drivers/hsf/full/archive/hsfmodem-${pkgver}/hsfmodem-${pkgver}.tar.gz"
- 'fix-deprecated-include.patch')
- md5sums=('8eb0935e86b898190bf20c08894af17e' '7d25b8df41fd53c9b0c7ebc3527402cf')
- ;;
- x86_64)
- source=("http://www.linuxant.com/drivers/hsf/full/archive/hsfmodem-${pkgver%full}${CARCH}full/hsfmodem-${pkgver%full}${CARCH}full.tar.gz"
- 'fix-deprecated-include.patch')
- md5sums=('74df1a0af818a918a68b38bf9a01599b' '7d25b8df41fd53c9b0c7ebc3527402cf')
- ;;
- esac
- build() {
- cd $srcdir/${pkgname}-${pkgver%full}*full/
- patch -Np1 -i ../fix-deprecated-include.patch
- cd $srcdir/${pkgname}-${pkgver%full}*full/modules/
- make CNXT_MODS_DIR=$pkgdir/lib/modules/$(uname -r)/extra modules_install || return 1
- make CNXTLIBDIR=$pkgdir/usr/lib/hsfmodem CNXT_MODS_DIR=$pkgdir/lib/modules/$(uname -r)/extra modules_install
- }
- # vim:set ts=2 sw=2 et:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement