/cross/ripgrep/Makefile

https://github.com/SynoCommunity/spksrc · Makefile · 22 lines · 15 code · 5 blank · 2 comment · 1 complexity · c97a026b3240ae81e8441a694ca3baf2 MD5 · raw file

  1. PKG_NAME = ripgrep
  2. PKG_VERS = 13.0.0
  3. PKG_EXT = tar.gz
  4. PKG_DIST_NAME = $(PKG_VERS).$(PKG_EXT)
  5. PKG_DIST_SITE = https://github.com/BurntSushi/ripgrep/archive
  6. PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
  7. PKG_DIR = $(PKG_NAME)-$(PKG_VERS)
  8. DEPENDS =
  9. # powerpc archs (except qoriq) are not supported
  10. UNSUPPORTED_ARCHS += $(OLD_PPC_ARCHS)
  11. HOMEPAGE = https://github.com/BurntSushi/ripgrep
  12. COMMENT = ripgrep recursively searches directories for a regex pattern.
  13. LICENSE = public domain/Unlicense
  14. # Force static build when pcre2 is detected in synocli-file build environment
  15. ENV += PCRE2_SYS_STATIC=1
  16. CARGO_BUILD_ARGS += --features 'pcre2'
  17. include ../../mk/spksrc.cross-rust.mk