### this file is sourced not run
PKGNAME=create_ap
PKGVER=0.4.6_2020.01
PKGBUILD=1
PKGARCH=noarch

# source: JakeSFR
TARBALL=${PKGNAME}-${PKGVER}.tar.gz
MD5SUM=7753e7409ac152d115250ea1990531c8
SRC_URL=https://github.com/oblique/${PKGNAME}/archive/462c09fc88d9d6a6037e8f5b64f14492508bba90.tar.gz
BUNDLE=

SLACKREQ='hostapd'

SLACKDESC="${PKGNAME}: ${PKGNAME} ${PKGVER} (Script to create WiFi Access Point)
${PKGNAME}: 
${PKGNAME}: This script creates a NATed or Bridged WiFi Access Point. 
${PKGNAME}: - Create an AP (Access Point) at any channel
${PKGNAME}: - Choose one of the following encryptions: WPA, WPA2, WPA/WPA2, Open (no encryption)
${PKGNAME}: - Hide your SSID
${PKGNAME}: - Disable communication between clients (client isolation)
${PKGNAME}: - IEEE 802.11n & 802.11ac support
${PKGNAME}: - Internet sharing methods: NATed or Bridged or None (no Internet sharing)
${PKGNAME}: 
${PKGNAME}: https://github.com/oblique/create_ap
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/${PKGNAME}* &&
	make $MAKEFLAGS &&
	make $MAKEFLAGS install &&
	pkg_build_slackdesc	&&
	true
}
