1 # SPDX-License-Identifier: GPL-2.0-only
3 # Copyright (C) 2023 Luca Barbato and Donald Hoskins
5 include $(TOPDIR
)/rules.mk
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
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
20 PKG_BUILD_DEPENDS
:=rust
/host
23 RUST_PKG_FEATURES
:=pcre2
25 include $(INCLUDE_DIR
)/package.mk
26 include ..
/..
/lang
/rust
/rust-package.mk
28 define Package
/ripgrep
31 TITLE
:=ripgrep
(rg
) regex grep
32 DEPENDS
:=$(RUST_ARCH_DEPENDS
) +libpcre2
33 URL
:=https
://github.com
/BurntSushi
/ripgrep
36 define Package
/ripgrep
/description
37 ripgrep
(rg
) recursively searches directories for a regex pattern
38 while respecting your gitignore
41 $(eval
$(call RustBinPackage
,ripgrep
))
42 $(eval
$(call BuildPackage
,ripgrep
))