mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-15 06:57:12 +00:00
Noux: add noux-pkg/sed
This commit is contained in:
parent
8f3413f487
commit
2aafc9d4e6
30
ports/ports/sed.mk
Normal file
30
ports/ports/sed.mk
Normal file
@ -0,0 +1,30 @@
|
||||
GNUSED = sed-4.2.2
|
||||
GNUSED_TGZ = $(GNUSED).tar.gz
|
||||
GNUSED_SIG = $(GNUSED_TGZ).sig
|
||||
GNUSED_URL = http://ftp.gnu.org/pub/gnu/sed
|
||||
GNUSED_KEY = GNU
|
||||
|
||||
#
|
||||
# Interface to top-level prepare Makefile
|
||||
#
|
||||
PORTS += $(GNUSED)
|
||||
|
||||
prepare:: $(CONTRIB_DIR)/$(GNUSED)
|
||||
|
||||
#
|
||||
# Port-specific local rules
|
||||
#
|
||||
$(DOWNLOAD_DIR)/$(GNUSED_TGZ):
|
||||
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(GNUSED_URL)/$(GNUSED_TGZ) && touch $@
|
||||
|
||||
$(DOWNLOAD_DIR)/$(GNUSED_SIG):
|
||||
$(VERBOSE)wget -c -P $(DOWNLOAD_DIR) $(GNUSED_URL)/$(GNUSED_SIG) && touch $@
|
||||
|
||||
$(CONTRIB_DIR)/$(GNUSED): $(DOWNLOAD_DIR)/$(GNUSED_TGZ).verified
|
||||
$(VERBOSE)tar xfz $(<:.verified=) -C $(CONTRIB_DIR) && touch $@
|
||||
|
||||
$(DOWNLOAD_DIR)/$(GNUSED_TGZ).verified: $(DOWNLOAD_DIR)/$(GNUSED_TGZ) \
|
||||
$(DOWNLOAD_DIR)/$(GNUSED_SIG)
|
||||
$(VERBOSE)$(SIGVERIFIER) $(DOWNLOAD_DIR)/$(GNUSED_TGZ) $(DOWNLOAD_DIR)/$(GNUSED_SIG) $(GNUSED_KEY)
|
||||
$(VERBOSE)touch $@
|
||||
|
10
ports/src/noux-pkg/sed/target.mk
Normal file
10
ports/src/noux-pkg/sed/target.mk
Normal file
@ -0,0 +1,10 @@
|
||||
NOUX_CONFIGURE_FLAGS = --without-included-regex
|
||||
|
||||
LIBS += pcre
|
||||
|
||||
#
|
||||
# Prevent double definition of '__size_t' in 'glob/glob.h'
|
||||
#
|
||||
#NOUX_CPPFLAGS += -D__FreeBSD__
|
||||
|
||||
include $(REP_DIR)/mk/noux.mk
|
Loading…
x
Reference in New Issue
Block a user