Initial Commit
- initial default booting image
This commit is contained in:
8
package/ipcalc/Config.in
Normal file
8
package/ipcalc/Config.in
Normal file
@@ -0,0 +1,8 @@
|
||||
config BR2_PACKAGE_IPCALC
|
||||
bool "ipcalc"
|
||||
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
|
||||
help
|
||||
A modern IPv4/IPv6 ipcalc tool, assisting in network
|
||||
calculations in command line and as a tool for scripts.
|
||||
|
||||
https://gitlab.com/ipcalc/ipcalc
|
||||
3
package/ipcalc/ipcalc.hash
Normal file
3
package/ipcalc/ipcalc.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 5ed8f20819a5bdb089829fc62c9a2c685252759d5c3ec289492e6ef5762f4e3b ipcalc-1.0.3.tar.bz2
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
33
package/ipcalc/ipcalc.mk
Normal file
33
package/ipcalc/ipcalc.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# ipcalc
|
||||
#
|
||||
################################################################################
|
||||
|
||||
IPCALC_VERSION = 1.0.3
|
||||
IPCALC_SITE = $(call gitlab,ipcalc,ipcalc,$(IPCALC_VERSION))
|
||||
IPCALC_SOURCE = ipcalc-$(IPCALC_VERSION).tar.bz2
|
||||
IPCALC_LICENSE = GPL-2.0+
|
||||
IPCALC_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
IPCALC_CONF_OPTS += -Duse_runtime_linking=disabled
|
||||
else
|
||||
IPCALC_CONF_OPTS += -Duse_runtime_linking=enabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GEOIP),y)
|
||||
IPCALC_CONF_OPTS += -Duse_geoip=enabled
|
||||
IPCALC_DEPENDENCIES += host-pkgconf geoip
|
||||
else
|
||||
IPCALC_CONF_OPTS += -Duse_geoip=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBMAXMINDDB),y)
|
||||
IPCALC_CONF_OPTS += -Duse_maxminddb=enabled
|
||||
IPCALC_DEPENDENCIES += host-pkgconf libmaxminddb
|
||||
else
|
||||
IPCALC_CONF_OPTS += -Duse_maxminddb=disabled
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user