1 include $(TOPDIR
)/rules.mk
7 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
8 PKG_SOURCE_URL
:=@GNU
/which
9 PKG_HASH
:=f4a245b94124b377d8b49646bf421f9155d36aa7614b6ebf83705d3ffc76eaad
11 PKG_MAINTAINER
:=Huangbin Zhan
<zhanhb88@gmail.com
>
12 PKG_LICENSE
:=GPL-2.0
-or-later
13 PKG_LICENSE_FILES
:=COPYING
18 include $(INCLUDE_DIR
)/package.mk
23 TITLE
:=which utility
- full version
24 URL
:=https
://carlowood.github.io
/which
/
25 ALTERNATIVES
:=300:/usr
/bin
/which
:/usr
/libexec
/which-gnu
28 define Package
/which
/description
29 The which command shows the full pathname of a specified program
, if the specified program is in your PATH.
32 define Package
/which
/install
33 $(INSTALL_DIR
) $(1)/usr
/libexec
34 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/which
$(1)/usr
/libexec
/which-gnu
37 $(eval
$(call BuildPackage
,which
))