Skip to content

Instantly share code, notes, and snippets.

@Brainiarc7
Created August 17, 2014 00:23
Show Gist options
  • Save Brainiarc7/35ca2b385e4d7ef1a09e to your computer and use it in GitHub Desktop.
Save Brainiarc7/35ca2b385e4d7ef1a09e to your computer and use it in GitHub Desktop.
Correct PKGBUILD for libeap on Arch Linux
pkgname=libeap
pkgver=1.5.1
pkgrel=2
pkgdesc="WiMAX EAP Library"
arch=('i686' 'x86_64')
url="http://linuxwimax.org"
license=('BSD')
depends=('openssl')
source=('http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-wireless/wpa_supplicant/files/wpa_supplicant-0.7.3-generate-libeap-peer.patch'
'http://hostap.epitest.fi/releases/wpa_supplicant-0.7.3.tar.gz')
md5sums=('87653d305f2b8b3dc89b3f003ce6cd9a'
'f516f191384a9a546e3f5145c08addda')
build() {
cd $srcdir
cd ${srcdir}/wpa_supplicant-0.7.3
patch -p1 < ${srcdir}/wpa_supplicant-0.7.3-generate-libeap-peer.patch
make -C src/eap_peer
make -C src/eap_peer DESTDIR=${pkgdir} install
}
@Brainiarc7
Copy link
Author

This PKGBUILD for libeap has the correct link to the WPA patchset from Gentoo, allowing you to compile the WPA supplicant to x86-64. Enjoy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment