committed by
Norman Feske
parent
1a29597d57
commit
6af2375ec9
3
lib/import/import-libconfig.mk
Normal file
3
lib/import/import-libconfig.mk
Normal file
@@ -0,0 +1,3 @@
|
||||
LIBCONFIG_PORT_DIR := $(call select_from_ports,libconfig)
|
||||
|
||||
INC_DIR += $(LIBCONFIG_PORT_DIR)/include
|
||||
11
lib/mk/libconfig.mk
Normal file
11
lib/mk/libconfig.mk
Normal file
@@ -0,0 +1,11 @@
|
||||
include $(REP_DIR)/lib/import/import-libconfig.mk
|
||||
|
||||
LIBCONFIG_SRC_DIR := $(LIBCONFIG_PORT_DIR)/src/lib/libconfig/lib
|
||||
|
||||
SRC_C := $(notdir $(wildcard $(LIBCONFIG_SRC_DIR)/*.c))
|
||||
|
||||
LIBS += libc
|
||||
|
||||
SHARED_LIB := yes
|
||||
|
||||
vpath %.c $(LIBCONFIG_SRC_DIR)
|
||||
65
lib/symbols/libconfig
Normal file
65
lib/symbols/libconfig
Normal file
@@ -0,0 +1,65 @@
|
||||
config_clear T
|
||||
config_default_include_func T
|
||||
config_destroy T
|
||||
config_get_float_precision T
|
||||
config_get_option T
|
||||
config_get_options T
|
||||
config_get_tab_width T
|
||||
config_init T
|
||||
config_lookup T
|
||||
config_lookup_bool T
|
||||
config_lookup_float T
|
||||
config_lookup_int T
|
||||
config_lookup_int64 T
|
||||
config_lookup_string T
|
||||
config_read T
|
||||
config_read_file T
|
||||
config_read_string T
|
||||
config_set_destructor T
|
||||
config_set_float_precision T
|
||||
config_set_hook T
|
||||
config_set_include_dir T
|
||||
config_set_include_func T
|
||||
config_set_option T
|
||||
config_set_options T
|
||||
config_set_tab_width T
|
||||
config_setting_add T
|
||||
config_setting_get_bool T
|
||||
config_setting_get_bool_elem T
|
||||
config_setting_get_elem T
|
||||
config_setting_get_float T
|
||||
config_setting_get_float_elem T
|
||||
config_setting_get_format T
|
||||
config_setting_get_int T
|
||||
config_setting_get_int64 T
|
||||
config_setting_get_int64_elem T
|
||||
config_setting_get_int_elem T
|
||||
config_setting_get_member T
|
||||
config_setting_get_string T
|
||||
config_setting_get_string_elem T
|
||||
config_setting_index T
|
||||
config_setting_is_aggregate T
|
||||
config_setting_is_scalar T
|
||||
config_setting_length T
|
||||
config_setting_lookup T
|
||||
config_setting_lookup_bool T
|
||||
config_setting_lookup_float T
|
||||
config_setting_lookup_int T
|
||||
config_setting_lookup_int64 T
|
||||
config_setting_lookup_string T
|
||||
config_setting_remove T
|
||||
config_setting_remove_elem T
|
||||
config_setting_set_bool T
|
||||
config_setting_set_bool_elem T
|
||||
config_setting_set_float T
|
||||
config_setting_set_float_elem T
|
||||
config_setting_set_format T
|
||||
config_setting_set_hook T
|
||||
config_setting_set_int T
|
||||
config_setting_set_int64 T
|
||||
config_setting_set_int64_elem T
|
||||
config_setting_set_int_elem T
|
||||
config_setting_set_string T
|
||||
config_setting_set_string_elem T
|
||||
config_write T
|
||||
config_write_file T
|
||||
1
ports/libconfig.hash
Normal file
1
ports/libconfig.hash
Normal file
@@ -0,0 +1 @@
|
||||
d157f94e421fbca680dbbfb6e77e09f37ad8e8a2
|
||||
11
ports/libconfig.port
Normal file
11
ports/libconfig.port
Normal file
@@ -0,0 +1,11 @@
|
||||
LICENSE := LGPLv2.1
|
||||
VERSION := 1.7.2
|
||||
DOWNLOADS := libconfig.archive
|
||||
|
||||
URL(libconfig) := https://github.com/hyperrealm/libconfig/archive/v1.7.2.tar.gz
|
||||
SHA(libconfig) := f67ac44099916ae260a6c9e290a90809e7d782d96cdd462cac656ebc5b685726
|
||||
DIR(libconfig) := src/lib/libconfig
|
||||
|
||||
DIRS := include
|
||||
|
||||
DIR_CONTENT(include) := src/lib/libconfig/lib/libconfig.h
|
||||
13
recipes/api/libconfig/content.mk
Normal file
13
recipes/api/libconfig/content.mk
Normal file
@@ -0,0 +1,13 @@
|
||||
content: include lib/symbols/libconfig LICENSE
|
||||
|
||||
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/libconfig)
|
||||
|
||||
include:
|
||||
mkdir -p $@
|
||||
cp -r $(PORT_DIR)/include/libconfig.h $@
|
||||
|
||||
lib/symbols/libconfig:
|
||||
$(mirror_from_rep_dir)
|
||||
|
||||
LICENSE:
|
||||
cp $(PORT_DIR)/src/lib/libconfig/LICENSE $@
|
||||
1
recipes/api/libconfig/hash
Normal file
1
recipes/api/libconfig/hash
Normal file
@@ -0,0 +1 @@
|
||||
2018-09-26 7450395a720a78f6849f467e7b5a1ffe7cce830f
|
||||
1
recipes/src/libconfig/api
Normal file
1
recipes/src/libconfig/api
Normal file
@@ -0,0 +1 @@
|
||||
libconfig
|
||||
17
recipes/src/libconfig/content.mk
Normal file
17
recipes/src/libconfig/content.mk
Normal file
@@ -0,0 +1,17 @@
|
||||
MIRROR_FROM_REP_DIR = lib/import/import-libconfig.mk lib/mk/libconfig.mk
|
||||
|
||||
content: $(MIRROR_FROM_REP_DIR) src/lib/libconfig/target.mk LICENSE
|
||||
|
||||
$(MIRROR_FROM_REP_DIR):
|
||||
$(mirror_from_rep_dir)
|
||||
|
||||
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/libconfig)
|
||||
|
||||
src/lib/libconfig/target.mk:
|
||||
mkdir -p src/lib/libconfig/lib
|
||||
cp -r $(PORT_DIR)/src/lib/libconfig/lib/*.c \
|
||||
$(PORT_DIR)/src/lib/libconfig/lib/*.h src/lib/libconfig/lib
|
||||
echo "LIBS := libconfig" > $@
|
||||
|
||||
LICENSE:
|
||||
cp $(PORT_DIR)/src/lib/libconfig/LICENSE $@
|
||||
1
recipes/src/libconfig/hash
Normal file
1
recipes/src/libconfig/hash
Normal file
@@ -0,0 +1 @@
|
||||
2018-09-26 07aa0fdfa20cd2813a949ad8101383647d22c183
|
||||
2
recipes/src/libconfig/used_apis
Normal file
2
recipes/src/libconfig/used_apis
Normal file
@@ -0,0 +1,2 @@
|
||||
base
|
||||
libc
|
||||
Reference in New Issue
Block a user