def METHOD_NAME(self):
    copy(self, "COPYING", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses"))
    if Version(self.version) > "1.2.4":
        autotools = Autotools(self)
        autotools.install()
    else:
        with chdir(self, self.source_folder):
            autotools = Autotools(self)
            autotools.install()
    rmdir(self, os.path.join(self.package_folder, "lib", "pkgconfig"))
    rm(self, "*.la", os.path.join(self.package_folder, "lib"))