# swconfig
local package_name="swconfig"
local package_repo="https://github.com/jekader/swconfig.git"
local package_ref="branch:master"
local package_builddeps="linux-headers-armmp libnl-3-dev libnl-genl-3-dev"
local package_upstream_version="15.04-2"
local package_install_target="swconfig"
local package_component="${release}-utils"

package_checkbuild()
{
	# we don't support running kernels < 3.13 on Stretch or Bionic
	# matching kernel headers on Xenial is complicated and R1 is not supported anymore anyway
	[[ $arch == armhf && $release == jessie ]]
}

package_checkinstall()
{
	[[ $BOARD == lamobo-r1 && $RELEASE == jessie && $BRANCH == default ]]
}
