Backported upstream patch. Added PKG_BUILD_PARALLEL for faster compilation. Added PKG_LICENSE_FILES. Cleaned up Makefile slightly,. Signed-off-by: Rosen Penev <rosenp@gmail.com>