summaryrefslogtreecommitdiff
path: root/core/crda/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'core/crda/PKGBUILD')
-rw-r--r--core/crda/PKGBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/core/crda/PKGBUILD b/core/crda/PKGBUILD
index f5264bb73..ce6144e17 100644
--- a/core/crda/PKGBUILD
+++ b/core/crda/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 141968 2011-11-03 18:52:56Z thomas $
+# $Id: PKGBUILD 150888 2012-02-23 13:53:54Z allan $
# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=crda
pkgver=1.1.2
-pkgrel=1
+pkgrel=2
pkgdesc="Central Regulatory Domain Agent for wireless networks"
arch=(i686 x86_64)
url="http://wireless.kernel.org/en/developers/Regulatory/CRDA"
@@ -12,13 +12,15 @@ depends=('wireless-regdb' 'libnl' 'libgcrypt' 'udev' 'iw')
makedepends=('python-m2crypto')
install=crda.install
source=(http://wireless.kernel.org/download/crda/${pkgname}-${pkgver}.tar.bz2
- crda.rc)
+ crda.rc libnl32.patch)
md5sums=('5226f65aebacf94baaf820f8b4e06df4'
- '014eef3f8655e9a130064ec6891317fc')
+ '014eef3f8655e9a130064ec6891317fc'
+ 'c1f7aff29f15a0364ae6f7905a1d4ae6')
build() {
msg "Compiling crda ..."
cd "${srcdir}"/${pkgname}-${pkgver}
+ patch -Np1 -i "$srcdir/libnl32.patch"
sed 's|^#!/usr/bin/env python|#!/usr/bin/python2|' -i utils/key2pub.py
make crda regdbdump
}