diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/lorcon-old-svn |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/lorcon-old-svn')
-rw-r--r-- | community/lorcon-old-svn/PKGBUILD | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/community/lorcon-old-svn/PKGBUILD b/community/lorcon-old-svn/PKGBUILD new file mode 100644 index 000000000..fedfc4e34 --- /dev/null +++ b/community/lorcon-old-svn/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Brad Fanella <bradfanella@archlinux.us> +# Contributor: fnord0 [fnord0 <AT> riseup <DOT> net] + +pkgname=lorcon-old-svn +pkgver=197 +pkgrel=2 +makedepends=('subversion') +pkgdesc="Loss Of Radio CONnectivity: A generic library for injecting 802.11 frames, capable of injection via multiple driver frameworks, without forcing modification of the application code." +url="http://802.11ninja.net" +license="GPL" +arch=('i686' 'x86_64') + +_svntrunk=http://802.11ninja.net/svn/lorcon/branch/lorcon-old/ +_svnmod=lorcon-old + +build() { + cd ${srcdir} + + # Fetch latest svn build + if [ -d ${_svnmod}/.svn ]; then + msg "Updating lorcon-old SVN..." + cd ${_svnmod} && svn up + else + msg "Checking out lorcon-old SVN..." + svn co ${_svntrunk} -r 224 ${_svnmod} + fi + + msg "SVN checkout done or server timeout" + + # Compile + cd ${srcdir}/${_svnmod} + msg "Starting make..." + ./configure --prefix=/usr + make +} + +package() { + cd ${srcdir}/${_svnmod} + + # Install + make DESTDIR="${pkgdir}" install +} + |