Initial Commit
- initial default booting image
This commit is contained in:
16
package/gawk/Config.in
Normal file
16
package/gawk/Config.in
Normal file
@@ -0,0 +1,16 @@
|
||||
config BR2_PACKAGE_GAWK
|
||||
bool "gawk"
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
help
|
||||
A special-purpose programming language which is data driven
|
||||
rather than procedural. Allows for simple data-reformatting
|
||||
jobs with just a few lines of code.
|
||||
|
||||
https://www.gnu.org/software/gawk/
|
||||
|
||||
comment "gawk needs a toolchain w/ wchar"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
6
package/gawk/gawk.hash
Normal file
6
package/gawk/gawk.hash
Normal file
@@ -0,0 +1,6 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
# https://ftp.gnu.org/gnu/gawk/gawk-5.4.0.tar.xz.sig
|
||||
# Primary key fingerprint: D196 7C63 7887 1317 7D86 1ED7 DF59 7815 937E C0D2
|
||||
sha256 3dd430f0cd3b4428c6c3f6afc021b9cd3c1f8c93f7a688dc268ca428a90b4ac1 gawk-5.4.0.tar.xz
|
||||
# Locally calculated
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
||||
49
package/gawk/gawk.mk
Normal file
49
package/gawk/gawk.mk
Normal file
@@ -0,0 +1,49 @@
|
||||
################################################################################
|
||||
#
|
||||
# gawk
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GAWK_VERSION = 5.4.0
|
||||
GAWK_SOURCE = gawk-$(GAWK_VERSION).tar.xz
|
||||
GAWK_SITE = $(BR2_GNU_MIRROR)/gawk
|
||||
GAWK_DEPENDENCIES = host-gawk
|
||||
GAWK_LICENSE = GPL-3.0+
|
||||
GAWK_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSIGSEGV),y)
|
||||
GAWK_DEPENDENCIES += libsigsegv
|
||||
endif
|
||||
|
||||
# --with-mpfr requires an argument so just let
|
||||
# configure find it automatically
|
||||
ifeq ($(BR2_PACKAGE_MPFR),y)
|
||||
GAWK_DEPENDENCIES += mpfr
|
||||
else
|
||||
GAWK_CONF_OPTS += --without-mpfr
|
||||
endif
|
||||
|
||||
# --with-readline requires an argument so just let
|
||||
# configure find it automatically
|
||||
ifeq ($(BR2_PACKAGE_READLINE),y)
|
||||
GAWK_DEPENDENCIES += readline
|
||||
else
|
||||
GAWK_CONF_OPTS += --without-readline
|
||||
endif
|
||||
|
||||
HOST_GAWK_CONF_OPTS = --without-readline --without-mpfr
|
||||
|
||||
define GAWK_CREATE_SYMLINK
|
||||
ln -sf gawk $(TARGET_DIR)/usr/bin/awk
|
||||
endef
|
||||
|
||||
GAWK_POST_INSTALL_TARGET_HOOKS += GAWK_CREATE_SYMLINK
|
||||
|
||||
define HOST_GAWK_CREATE_SYMLINK
|
||||
ln -sf gawk $(HOST_DIR)/bin/awk
|
||||
endef
|
||||
|
||||
HOST_GAWK_POST_INSTALL_HOOKS += HOST_GAWK_CREATE_SYMLINK
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user