anchor.diff:      for file in `find ${WORKDIR}/linuxsynths-vex-patches -mindepth 1 -maxdepth 1` ; do
           cp -rf $file ${D}${libdir}/lv2/
       done
  +
  +    # install scripts for distro-ports-extra (and abuse libdir to ensure is is found in sysroot)
  +    install -d ${D}/${libdir}/distrho-ports-build
  +    cp -rf ${WORKDIR}/scripts ${D}${libdir}/distrho-ports-build/
  +    cp -rf ${S}/libs ${D}${libdir}/distrho-ports-build/
  +    rm -f ${D}${libdir}/distrho-ports-build/libs/lv2_ttl_generator
   }
   
   PACKAGES =+ "${PN}-presets"
  
positive.code: 
  FILES_${PN}-presets = "${libdir}/lv2/*.preset.lv2"
  
  # Have not found what causes stripping - debugging of plugins is unlikely
  INSANE_SKIP_${PN} = "already-stripped"
  
negative.code:     ladspa-sdk \
  "
  
  do_configure() {
      # reconfigure?
      if [ ! -f ${LV2-TURTLE-BUILD-DATA} ] ; then
          # keep unmodified scripts
          cp -r ${S}/scripts ${WORKDIR}
          # manipulate scripts to keep lv2_ttl_generator-calls in script for lv2-postinst-helper
          sed -i 's|$GEN ./$FILE|echo "lv2-ttl-generator `pwd`/$FILE" >> ${LV2-TURTLE-BUILD-DATA}|g' `find ${S}/scripts -name *.sh`
      else
          rm -f ${LV2-TURTLE-BUILD-DATA}
      fi
  
      # platforms supporting sse2 can override this (NOOPTIMIZATIONS)
      NOOPTIMIZATIONS=1 ${S}/scripts/premake-update.sh linux
  }
  
  