1 # Contributor: gash <sbarbi at eccelinux.org>
3 pkgname=eciadsl-usermode
6 pkgdesc="A free Linux driver for Globespan based ADSL USB modems."
7 url="http://eciadsl.flashtux.org/"
16 source=(http://eciadsl.flashtux.org/download/$pkgname-$pkgver.tar.bz2
19 md5sums=('20cbf3b1e02262e25dae6ec697e5895e' \
20 'aef3fadfa1a5fdefe171a69902d1336c' \
21 'f70adbfa106b2f6a7ed0fef5569fcc6d')
24 cd $startdir/src/$pkgname-$pkgver
25 ./configure --prefix=/usr
26 patch -p2 -i $startdir/pusb-linux.diff || return 1
28 make DESTDIR=$startdir/pkg install
29 mkdir -p $startdir/pkg/etc/rc.d
30 install -m755 $startdir/src/rc.adsl $startdir/pkg/etc/rc.d/eciadsl