summaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'wpa_supplicant/Pkgfile')
-rw-r--r--wpa_supplicant/Pkgfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/wpa_supplicant/Pkgfile b/wpa_supplicant/Pkgfile
index b92159b21..a11adec34 100644
--- a/wpa_supplicant/Pkgfile
+++ b/wpa_supplicant/Pkgfile
@@ -22,8 +22,8 @@ build() {
perl -pi -e '$_ = "# $_" if /^\s*network\s*=\s*{/ .. /^\s*}/' wpa_supplicant.conf
cp $SRC/config .config
- make
- make eapol_test
+ make BINDIR=/usr/sbin
+ make BINDIR=/usr/sbin eapol_test
mkdir -p $PKG/usr/sbin
mkdir -p $PKG/etc/dbus-1/system.d/
@@ -34,9 +34,11 @@ build() {
cp wpa_passphrase $PKG/usr/sbin
cp wpa_supplicant.conf $PKG/etc
cp eapol_test $PKG/usr/sbin
+
install -m 0644 dbus/dbus-wpa_supplicant.conf $PKG/etc/dbus-1/system.d/wpa_supplicant.conf
install -m 0644 dbus/fi.epitest.hostap.WPASupplicant.service $PKG/usr/share/dbus-1/system-services
install -m 0644 dbus/fi.w1.wpa_supplicant1.service $PKG/usr/share/dbus-1/system-services
+
mkdir -p $PKG/usr/share/man/man{5,8}
cp doc/docbook/*.8 $PKG/usr/share/man/man8
cp doc/docbook/*.5 $PKG/usr/share/man/man5