updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / eciadsl-usermode / PKGBUILD
bloba859359be75f99ad10c86deb516d44d67c48c195
1 # Contributor: gash <sbarbi at eccelinux.org>
3 pkgname=eciadsl-usermode
4 pkgver=0.12
5 pkgrel=1
6 pkgdesc="A free Linux driver for Globespan based ADSL USB modems."
7 url="http://eciadsl.flashtux.org/"
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 depends=('tk')
11 makedepends=()
12 conflicts=()
13 replaces=()
14 backup=()
15 install=
16 source=(http://eciadsl.flashtux.org/download/$pkgname-$pkgver.tar.bz2  
17         pusb-linux.diff 
18         rc.adsl)
19 md5sums=('20cbf3b1e02262e25dae6ec697e5895e' \
20          'aef3fadfa1a5fdefe171a69902d1336c' \
21          'f70adbfa106b2f6a7ed0fef5569fcc6d')
23 build() {
24   cd $startdir/src/$pkgname-$pkgver
25   ./configure --prefix=/usr
26   patch -p2 -i $startdir/pusb-linux.diff || return 1
27   make || 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