2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-10-02 14:30:57 -06:00
repo/extra/wpa_supplicant/build

22 lines
555 B
Plaintext
Raw Normal View History

2019-06-21 02:39:04 -06:00
#!/bin/sh -e
2022-09-30 03:31:00 -06:00
CFLAGS="$CFLAGS $(pkg-config --cflags libnl-tiny)"
export CFLAGS
2019-06-21 02:39:04 -06:00
cd wpa_supplicant
2022-03-26 02:45:52 -06:00
make LIBDIR=/usr/lib BINDIR=/usr/bin
2023-03-02 07:40:00 -07:00
make LIBDIR=/usr/lib BINDIR=/usr/bin DESTDIR="$1" install
mkdir -p \
"$1/usr/share/man/man5" \
"$1/usr/share/man/man8"
cp -f doc/docbook/*.5 "$1/usr/share/man/man5"
cp -f doc/docbook/*.8 "$1/usr/share/man/man8"
2021-07-29 01:22:51 -06:00
# Install runit service.
mkdir -p "$1/etc/sv/wpa_supplicant"
cp -f wpa_supplicant.run "$1/etc/sv/wpa_supplicant/run"
ln -sf /run/runit/supervise.wpa_supplicant "$1/etc/sv/wpa_supplicant/supervise"