NEW_BUNDLE_EXTENSION = .BackModule
BINARY_EXTENSION = .BackO
INSTALL_BUNDLE = ${DSTROOT}/${INSTALLDIR}/${NAME}

#remove previous module
#move new module to new name
#change binary name to new name
after_install::
	${RM} -rf ${INSTALL_BUNDLE}${NEW_BUNDLE_EXTENSION}
	${MV} ${INSTALL_BUNDLE}.${BUNDLE_EXTENSION} ${INSTALL_BUNDLE}${NEW_BUNDLE_EXTENSION}
	${MV} ${INSTALL_BUNDLE}${NEW_BUNDLE_EXTENSION}/${NAME} \
		${INSTALL_BUNDLE}${NEW_BUNDLE_EXTENSION}/${NAME}${BINARY_EXTENSION}
