1 # Maintainer : Tobias Powalowski <tpowa@archlinux.org>
3 pkgname=intel-536ep-utils
7 pkgdesc="Userspace tools for Intel Modem Drivers for 536EP chipset."
9 license=('custom:"INTEL536"')
10 url="http://linmodems.technion.ac.il/packages/Intel/"
11 depends=('bash' 'udev')
12 source=(http://linmodems.technion.ac.il/packages/intel/Philippe.Vouters/intel-536EP-2.56.76.0_2009_02_08.tar.bz2
16 cd $startdir/src/intel-536EP-2.56.76.0
17 # Install driver loader
18 install -D -m 755 hamregistry $startdir/pkg/usr/sbin/hamregistry
20 install -D -m 755 $startdir/src/intel-536EP.rc.d $startdir/pkg/etc/rc.d/intel-536EP
21 # install modem udev rule
22 mkdir -p $startdir/pkg/etc/udev/rules.d
23 echo 'ACTION=="add", SUBSYSTEM=="pci", ENV{MODALIAS}=="pci:v00008086d00001040sv000016BEsd00001040bc07sc80i00", RUN+="/lib/udev/load-modules.sh intel536"' > $startdir/pkg/etc/udev/rules.d/intel536.rules
24 echo 'KERNEL=="536ep[0-9]", MODE="0660", GROUP="tty", , RUN+="/lib/udev/load-modules.sh ppp-generic" SYMLINK+="modem"' >> $startdir/pkg/etc/udev/rules.d/intel536.rules
25 # install license file
26 install -D -m644 $startdir/src/intel-536EP-2.56.76.0/license.txt $startdir/pkg/usr/share/licenses/intel536/license.txt
28 md5sums=('2c429c3ec7eab83a756dbdc611172474'
29 'fa7941b6f8685f77dc401dcd05adbea1')