def METHOD_NAME(self):
    autotools = Autotools(self)
    with chdir(self, self.source_folder):
        # Note: not actually an autotools project, is a Makefile project.
        autotools.install(args=[f"DESTDIR={unix_path(self, self.package_folder)}", "PREFIX=/"])
    rmdir(self, os.path.join(self.package_folder, "bin"))
    rmdir(self, os.path.join(self.package_folder, "lib", "pkgconfig"))
    rm(self, "*.a" if self.options.shared else "*.[so|dylib]*", os.path.join(self.package_folder, "lib") )