mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-21 18:06:50 +00:00
depot: recipes for api/curl and src/curl
This commit is contained in:
parent
531a4bbb7e
commit
a3c217757c
@ -25,7 +25,7 @@ CC_OPT += -DHAVE_CONFIG_H
|
||||
|
||||
LIBS += libc zlib libcrypto libssh libssl
|
||||
|
||||
include $(REP_DIR)/lib/import/import-curl.mk
|
||||
include $(call select_from_repositories,lib/import/import-curl.mk)
|
||||
|
||||
SHARED_LIB = yes
|
||||
|
||||
|
29
repos/libports/recipes/api/curl/content.mk
Normal file
29
repos/libports/recipes/api/curl/content.mk
Normal file
@ -0,0 +1,29 @@
|
||||
MIRROR_FROM_REP_DIR := lib/import/import-curl.mk \
|
||||
lib/symbols/curl
|
||||
|
||||
content: $(MIRROR_FROM_REP_DIR)
|
||||
|
||||
$(MIRROR_FROM_REP_DIR):
|
||||
$(mirror_from_rep_dir)
|
||||
|
||||
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/curl)
|
||||
|
||||
content: include
|
||||
|
||||
include:
|
||||
mkdir -p $@/curl
|
||||
cp $(PORT_DIR)/include/curl/* $@/curl
|
||||
|
||||
content: src/lib/curl
|
||||
|
||||
src/lib/curl:
|
||||
mkdir -p $@
|
||||
for spec in 32bit 64bit; do \
|
||||
mkdir -p $@/spec/$$spec/curl; \
|
||||
cp $(REP_DIR)/$@/spec/$$spec/curl/curlbuild.h $@/spec/$$spec/curl/; \
|
||||
done
|
||||
|
||||
content: LICENSE
|
||||
|
||||
LICENSE:
|
||||
cp $(PORT_DIR)/src/lib/curl/COPYING $@
|
1
repos/libports/recipes/api/curl/hash
Normal file
1
repos/libports/recipes/api/curl/hash
Normal file
@ -0,0 +1 @@
|
||||
2017-12-05-a 12d0b9e73fba04eac74fa35e3195fb8633c930de
|
1
repos/libports/recipes/src/curl/api
Normal file
1
repos/libports/recipes/src/curl/api
Normal file
@ -0,0 +1 @@
|
||||
curl
|
22
repos/libports/recipes/src/curl/content.mk
Normal file
22
repos/libports/recipes/src/curl/content.mk
Normal file
@ -0,0 +1,22 @@
|
||||
content: src/lib/curl/target.mk lib/mk LICENSE
|
||||
|
||||
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/curl)
|
||||
|
||||
src/lib/curl:
|
||||
mkdir -p $@
|
||||
cp -r $(REP_DIR)/$@/curl_config.h $@
|
||||
cp -r $(PORT_DIR)/src/lib/curl/* $@
|
||||
|
||||
src/lib/curl/target.mk: src/lib/curl
|
||||
echo "LIBS += curl" > $@
|
||||
|
||||
lib/mk:
|
||||
mkdir -p $@
|
||||
cp $(REP_DIR)/lib/mk/curl.inc $@
|
||||
for spec in 32bit 64bit; do \
|
||||
mkdir -p $@/spec/$$spec; \
|
||||
cp $(REP_DIR)/$@/spec/$$spec/curl.mk $@/spec/$$spec/; \
|
||||
done
|
||||
|
||||
LICENSE:
|
||||
cp $(PORT_DIR)/src/lib/curl/COPYING $@
|
1
repos/libports/recipes/src/curl/hash
Normal file
1
repos/libports/recipes/src/curl/hash
Normal file
@ -0,0 +1 @@
|
||||
2017-12-05-g 5b4752b50f8b582ef4767f17188637e0ff220939
|
6
repos/libports/recipes/src/curl/used_apis
Normal file
6
repos/libports/recipes/src/curl/used_apis
Normal file
@ -0,0 +1,6 @@
|
||||
libc
|
||||
libcrypto
|
||||
zlib
|
||||
libssh
|
||||
libssl
|
||||
so
|
Loading…
x
Reference in New Issue
Block a user