Use configure plus opts and make DESTDIR for configuration and installation.