|
@@ -6,8 +6,10 @@ package("elfutils")
|
|
|
|
|
|
set_urls("https://sourceware.org/elfutils/ftp/$(version)/elfutils-$(version).tar.bz2")
|
|
set_urls("https://sourceware.org/elfutils/ftp/$(version)/elfutils-$(version).tar.bz2")
|
|
add_versions("0.183", "c3637c208d309d58714a51e61e63f1958808fead882e9b607506a29e5474f2c5")
|
|
add_versions("0.183", "c3637c208d309d58714a51e61e63f1958808fead882e9b607506a29e5474f2c5")
|
|
|
|
+ add_versions("0.189", "39bd8f1a338e2b7cd4abc3ff11a0eddc6e690f69578a57478d8179b4148708c8")
|
|
|
|
|
|
add_patches("0.183", path.join(os.scriptdir(), "patches", "0.183", "configure.patch"), "7a16719d9e3d8300b5322b791ba5dd02986f2663e419c6798077dd023ca6173a")
|
|
add_patches("0.183", path.join(os.scriptdir(), "patches", "0.183", "configure.patch"), "7a16719d9e3d8300b5322b791ba5dd02986f2663e419c6798077dd023ca6173a")
|
|
|
|
+ add_patches("0.189", path.join(os.scriptdir(), "patches", "0.189", "configure.patch"), "b4016a97e6aaad92b15fad9a594961b1fc77a6d054ebadedef9bb3a55e99a8f8")
|
|
|
|
|
|
add_configs("libelf", {description = "Enable libelf", default = true, type = "boolean"})
|
|
add_configs("libelf", {description = "Enable libelf", default = true, type = "boolean"})
|
|
add_configs("libcpu", {description = "Enable libcpu", default = false, type = "boolean"})
|
|
add_configs("libcpu", {description = "Enable libcpu", default = false, type = "boolean"})
|
|
@@ -77,6 +79,7 @@ package("elfutils")
|
|
os.rm(path.join(package:installdir("lib"), "*.a"))
|
|
os.rm(path.join(package:installdir("lib"), "*.a"))
|
|
else
|
|
else
|
|
os.rm(path.join(package:installdir("lib"), "*.so"))
|
|
os.rm(path.join(package:installdir("lib"), "*.so"))
|
|
|
|
+ os.tryrm(path.join(package:installdir("lib"), "*.so.*"))
|
|
end
|
|
end
|
|
end)
|
|
end)
|
|
|
|
|