### this file is sourced not run
PKGVER=2018.08
PKGBUILD=1
PKGARCH=noarch

# source: james
TARBALL=oui.txt
MD5SUM= # no point to check md5sum, this is a living document
SRC_URL=standards-oui.ieee.org/oui.txt
BUNDLE=

OUI_DIR=/usr/share/misc/

SLACKREQ='' # 
SLACKDESC="oui-database: oui-database $PKGVER (OUI vendor database)  
oui-database:  
oui-database: This package contains oui.txt, a database that contains 
oui-database: Organisationally Unique Identifier (OUI), which maps product 
oui-database: numbers to vendor names and product models, useful for 
oui-database: determining manufacturers based on network MAC address or their 
oui-database: bluetooth EUI  
oui-database: 
oui-database: http://standards.ieee.org/develop/regauth/oui/oui.txt
oui-database: 
oui-database: 
"

### default pkg_download
### default pkg_prepare
pkg_prepare() {
	! [ -e $SRC_DIR/$TARBALL ] && pkg_download_default $SRC_DIR $TARBALL $SRC_URL
	mkdir -p ./$OUI_DIR &&
	cp $SRC_DIR/$TARBALL ./$OUI_DIR
}

### default pkg_package
### build
pkg_build() {
	pkg_build_slackdesc
}
