[packaging] import mer packaging adapted to subtree building