1 # Contributor: Lex Rivera <x-demon@x-demon.org>
5 pkgdesc="MadWimax is a reverse-engineered linux driver for Mobile Wimax (802.16e) devices based on Samsung CMC-730 chip. GIT version."
7 url="http://code.google.com/p/madwimax/"
9 depends=('bash' 'libusb')
10 makedepends=('asciidoc' 'docbook-xsl' 'docbook2x' 'git')
11 optdepends=('dhclient')
12 conflicts=('madwimax-svn' 'madwimax-git')
13 source=('configure.ac.docbook2man.patch'
14 'configure.ac.lua.patch')
15 md5sums=('a94ec2de6ea88d204e294ac412b429ef'
16 'fcf0ae5c2045a5c6b058449a079a5177')
18 _gitroot="git://github.com/ago/madwimax.git"
23 if [ -d $srcdir/$_gitname ]
25 msg "Updateing local repository..."
27 git pull origin master || return 1
28 msg "The local files are updated."
32 msg "git checkout done or server timeout"
33 msg "Starting make..."
35 rm -r $srcdir/$_gitname-build
36 cp -r $srcdir/$_gitname $srcdir/$_gitname-build
37 cd $srcdir/$_gitname-build
38 patch -p1 < ../../configure.ac.lua.patch
39 patch -p1 < ../../configure.ac.docbook2man.patch
41 ./configure --prefix=/usr --sysconfdir=/etc
43 make DESTDIR=$pkgdir install || return 1