mpc: update to 0.35
[feed/packages.git] / utils / ripgrep / Makefile
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Copyright (C) 2023 Luca Barbato and Donald Hoskins
4
5 include $(TOPDIR)/rules.mk
6
7 PKG_NAME:=ripgrep
8 PKG_VERSION:=13.0.0
9 PKG_RELEASE:=2
10
11 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12 PKG_SOURCE_URL:=https://codeload.github.com/BurntSushi/ripgrep/tar.gz/$(PKG_VERSION)?
13 PKG_HASH:=0fb17aaf285b3eee8ddab17b833af1e190d73de317ff9648751ab0660d763ed2
14
15 PKG_MAINTAINER:=Luca Barbato <lu_zero@luminem.org>
16 PKG_LICENSE:=MIT Unlicense
17 PKG_LICENSE_FILES:=LICENSE-MIT UNLICENSE
18 PKG_CPE_ID:=cpe:/a:ripgrep_project:ripgrep
19
20 PKG_BUILD_DEPENDS:=rust/host
21 PKG_BUILD_PARALLEL:=1
22
23 RUST_PKG_FEATURES:=pcre2
24
25 include $(INCLUDE_DIR)/package.mk
26 include ../../lang/rust/rust-package.mk
27
28 define Package/ripgrep
29 SECTION:=utils
30 CATEGORY:=Utilities
31 TITLE:=ripgrep (rg) regex grep
32 DEPENDS:=$(RUST_ARCH_DEPENDS) +libpcre2
33 URL:=https://github.com/BurntSushi/ripgrep
34 endef
35
36 define Package/ripgrep/description
37 ripgrep (rg) recursively searches directories for a regex pattern
38 while respecting your gitignore
39 endef
40
41 $(eval $(call RustBinPackage,ripgrep))
42 $(eval $(call BuildPackage,ripgrep))