Skip to content

Instantly share code, notes, and snippets.

@sproctor
Created March 28, 2017 13:23
Show Gist options
  • Save sproctor/805d4f4d21174c26a447207316dd99d7 to your computer and use it in GitHub Desktop.
Save sproctor/805d4f4d21174c26a447207316dd99d7 to your computer and use it in GitHub Desktop.
pkgconfig-depends suggestion

Some packages, specifically Lua, do not have a standard name in their pkg-config. Lua 5.1 could be one of lua51, lua5.1, lua-5.1, or lua. It would be nice to have an "or" feature in pkgconfig-depends so I could write that as:

pkgconfig-depends: lua51 || lua5.1 || lua-5.1 || (lua >= 5.1, lua < 5.2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment