mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 07:46:42 +00:00
Noux: 'which'
This patch adds the GNU 'which' program to the 'ports' repository. Fixes #380.
This commit is contained in:
parent
e9ac4b653b
commit
cbf401f232
19
ports/ports/which.mk
Normal file
19
ports/ports/which.mk
Normal file
@ -0,0 +1,19 @@
|
||||
WHICH = which-2.20
|
||||
WHICH_TGZ = $(WHICH).tar.gz
|
||||
WHICH_URL = http://ftp.gnu.org/gnu/which/$(WHICH_TGZ)
|
||||
#
|
||||
# Interface to top-level prepare Makefile
|
||||
#
|
||||
PORTS += $(WHICH)
|
||||
|
||||
prepare:: $(CONTRIB_DIR)/$(WHICH)
|
||||
|
||||
#
|
||||
# Port-specific local rules
|
||||
#
|
||||
$(DOWNLOAD_DIR)/$(WHICH_TGZ):
|
||||
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) -O $@ $(WHICH_URL) && touch $@
|
||||
|
||||
$(CONTRIB_DIR)/$(WHICH): $(DOWNLOAD_DIR)/$(WHICH_TGZ)
|
||||
$(VERBOSE)tar xfz $< -C $(CONTRIB_DIR) && touch $@
|
||||
# $(VERBOSE)patch -d contrib/ -N -p0 < src/noux-pkg/lynx/build.patch
|
1
ports/src/noux-pkg/which/target.mk
Normal file
1
ports/src/noux-pkg/which/target.mk
Normal file
@ -0,0 +1 @@
|
||||
include $(REP_DIR)/mk/noux.mk
|
Loading…
Reference in New Issue
Block a user