#!/bin/sh -e
patch -p1 < libressl.patch
cd wpa_supplicant
mv ../.config .
make LIBDIR=/usr/lib BINDIR=/usr/bin
make LIBDIR=/usr/lib BINDIR=/usr/bin DESTDIR="$1" install