anchor.diff:  LICENSE = "MIT"
   LIC_FILES_CHKSUM = "file://COPYING;md5=ba69bae29a956ebfb5d983fef66a2ea9"
   
  -DEPENDS_append = " glide-native libarchive"
  +DEPENDS_append = " glide-native libarchive upx-native"
   
   GO_IMPORT = "github.com/UpdateHub/updatehub"
   SRC_URI = " \
  
positive.code: 
  INITSCRIPT_NAME = "${PN}"
  INITSCRIPT_PARAMS = "defaults 99"
  
  do_configure() {
      mkdir -p ${S}/src
  
negative.code:     fi
  }
  
  apply_upx() {
      ${UPX} ${UPX_ARGS} ${PKGDEST}/${PN}/${bindir}/updatehub
      ${UPX} ${UPX_ARGS} ${PKGDEST}/${PN}-server/${bindir}/updatehub-server
  }
  
  PACKAGEFUNCS += "apply_upx"
  
  PACKAGES =+ "${PN}-server"
  
  FILES_${PN}-server += "${bindir}/${PN}-server"
  
  RDEPENDS_${PN}-dev += "bash"
  