Obsolete
/
packaging
Archived
3
0
Fork 0

%{prefix}/lib/pkgconfig is split in -dev.

master
Luka Vandervelden 2019-08-29 15:12:26 +02:00
parent ccfa8752d2
commit f4a9814b4e
1 changed files with 6 additions and 1 deletions

View File

@ -197,7 +197,12 @@ class Package::Context
prefixes = (@prefixes + [recipe.prefix]).uniq prefixes = (@prefixes + [recipe.prefix]).uniq
split.name = "#{recipe.name}-dev" split.name = "#{recipe.name}-dev"
split.files = prefixes.map { |x| "#{x}/include" } split.files = prefixes.map do |prefix|
[
"#{prefix}/include",
"#{prefix}/lib/pkgconfig"
]
end.flatten
split.file_patterns = prefixes.map do |prefix| split.file_patterns = prefixes.map do |prefix|
Regex.new("^" + prefix + ".*\\.a$") Regex.new("^" + prefix + ".*\\.a$")
end end