1 # Contributor: Jonathan Liu <net147@hotmail.com>
6 pkgdesc="Alternative driver for the Agere Systems PCI WinModem."
8 url="http://martian.barrelsoutofbond.org/"
9 license=("GPL" "custom:Agere Systems WinModem License")
10 depends=('kernel26>=2.6.39' 'kernel26<2.6.40' 'martian-utils')
11 makedepends=('kernel26-headers>=2.6.39' 'kernel26-headers<2.6.40')
14 install=martian.install
15 source=(http://linmodems.technion.ac.il/packages/ltmodem/kernel-2.6/martian/martian-full-${pkgver}.tar.gz
21 cd $startdir/src/martian-full-$pkgver
22 patch -Np0 -i ../kernel-2.6.39.patch
23 make KERNEL_DIR=/usr/src/linux-${_kernver} all
27 install -D -m644 $startdir/src/martian-full-$pkgver/kmodule/martian_dev.ko $startdir/pkg/lib/modules/${_kernver}/kernel/drivers/net/martian_dev.ko
28 install -D -m644 $startdir/src/martian-full-$pkgver/modem/ASWMLICENSE $startdir/pkg/usr/share/licenses/$pkgname/LICENSE
30 find "$pkgdir" -name '*.ko' -exec gzip -9 {} \;
32 md5sums=('7ecbf7d294c620b5382eb54e28d8bbbb'
33 '7c09e190b4c7f21c996d12804677a904')