9e2a0debafb6bbc5aa6606446ec2165f99d8c41f
[feed/packages.git] / utils / eza / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=eza
4 PKG_VERSION:=0.18.7
5 PKG_RELEASE:=1
6
7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
8 PKG_SOURCE_URL:=https://codeload.github.com/eza-community/eza/tar.gz/v$(PKG_VERSION)?
9 PKG_HASH:=e712e3ae97ca7ee28e411b8537e20b1efb88b3e052c8053c13d70ae97bae9b61
10
11 PKG_MAINTAINER:=Jonas Jelonek <jelonek.jonas@gmail.com>
12 PKG_LICENSE:=MIT
13 PKG_LICENSE_FILES:=LICENSE
14
15 PKG_BUILD_DEPENDS:=rust/host
16 PKG_BUILD_PARALLEL:=1
17
18 include $(INCLUDE_DIR)/package.mk
19 include ../../lang/rust/rust-package.mk
20
21 define Package/eza
22 SECTION:=utils
23 CATEGORY:=Utilities
24 TITLE:=A modern, maintained replacement for ls
25 DEPENDS:=$(RUST_ARCH_DEPENDS) +zlib
26 URL:=https://eza.rocks
27 endef
28
29 define Package/eza/description
30 eza is a modern, maintained replacement for the venerable
31 file-listing command-line program ls that ships with Unix
32 and Linux operating systems, giving it more features and
33 better defaults. It uses colours to distinguish file types
34 and metadata. It knows about symlinks, extended attributes,
35 and Git.
36
37 And it's small, fast, and just one single binary.
38 endef
39
40 define Package/eza/install
41 $(INSTALL_DIR) $(1)/usr/bin
42 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/eza $(1)/usr/bin
43 endef
44
45 $(eval $(call RustBinPackage,eza))
46 $(eval $(call BuildPackage,eza))