mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 18:56:29 +00:00
parent
8f228e3035
commit
3286d37c64
19
repos/libports/recipes/api/pcsc-lite/content.mk
Normal file
19
repos/libports/recipes/api/pcsc-lite/content.mk
Normal file
@ -0,0 +1,19 @@
|
||||
MIRROR_FROM_REP_DIR := lib/import/import-pcsc-lite.mk
|
||||
|
||||
content: $(MIRROR_FROM_REP_DIR)
|
||||
|
||||
$(MIRROR_FROM_REP_DIR):
|
||||
$(mirror_from_rep_dir)
|
||||
|
||||
PORT_DIR := $(call port_dir,$(REP_DIR)/ports/pcsc-lite)
|
||||
|
||||
content: include
|
||||
|
||||
include:
|
||||
mkdir -p $@
|
||||
cp -r $(PORT_DIR)/include/PCSC/* $@
|
||||
|
||||
content: LICENSE
|
||||
|
||||
LICENSE:
|
||||
cp $(PORT_DIR)/src/lib/pcsc-lite/COPYING $@
|
1
repos/libports/recipes/api/pcsc-lite/hash
Normal file
1
repos/libports/recipes/api/pcsc-lite/hash
Normal file
@ -0,0 +1 @@
|
||||
2022-06-15 f2d91225517ac072d1a539515f1970507cf16519
|
1
repos/libports/recipes/src/pcsc-lite/api
Normal file
1
repos/libports/recipes/src/pcsc-lite/api
Normal file
@ -0,0 +1 @@
|
||||
pcsc-lite
|
70
repos/libports/recipes/src/pcsc-lite/content.mk
Normal file
70
repos/libports/recipes/src/pcsc-lite/content.mk
Normal file
@ -0,0 +1,70 @@
|
||||
CCID_DIR := $(call port_dir,$(REP_DIR)/ports/ccid)
|
||||
PCSC_DIR := $(call port_dir,$(REP_DIR)/ports/pcsc-lite)
|
||||
|
||||
MIRROR_FROM_CCID_DIR := \
|
||||
$(shell \
|
||||
cd $(CCID_DIR); \
|
||||
find src/lib/ccid -type f | \
|
||||
grep -v "\.git")
|
||||
|
||||
MIRROR_FROM_PCSC_DIR := \
|
||||
$(shell cd $(PCSC_DIR); find include -type f) \
|
||||
$(shell \
|
||||
cd $(PCSC_DIR); \
|
||||
find src/lib/pcsc-lite -type f | \
|
||||
grep -v "\.git") \
|
||||
|
||||
MIRROR_FROM_REP_DIR += \
|
||||
lib/mk/pcsc-lite.mk \
|
||||
lib/mk/ccid.mk \
|
||||
$(shell cd $(REP_DIR) && find src/lib/pcsc-lite -type f) \
|
||||
$(shell cd $(REP_DIR) && find src/lib/ccid -type f)
|
||||
|
||||
MIRROR_FROM_CCID_DIR := \
|
||||
$(filter-out $(MIRROR_FROM_REP_DIR), $(MIRROR_FROM_CCID_DIR))
|
||||
|
||||
MIRROR_FROM_PCSC_DIR := \
|
||||
$(filter-out $(MIRROR_FROM_REP_DIR), $(MIRROR_FROM_PCSC_DIR))
|
||||
|
||||
content: $(MIRROR_FROM_CCID_DIR)
|
||||
|
||||
$(MIRROR_FROM_CCID_DIR):
|
||||
mkdir -p $(dir $@)
|
||||
cp -r $(CCID_DIR)/$@ $(dir $@)
|
||||
|
||||
content: $(MIRROR_FROM_PCSC_DIR)
|
||||
|
||||
$(MIRROR_FROM_PCSC_DIR):
|
||||
mkdir -p $(dir $@)
|
||||
cp -r $(PCSC_DIR)/$@ $(dir $@)
|
||||
|
||||
content: $(MIRROR_FROM_REP_DIR)
|
||||
|
||||
$(MIRROR_FROM_REP_DIR):
|
||||
$(mirror_from_rep_dir)
|
||||
|
||||
content: src/lib/pcsc-lite/target.mk
|
||||
|
||||
src/lib/pcsc-lite/target.mk:
|
||||
mkdir -p $(dir $@)
|
||||
echo "LIBS = pcsc-lite" > $@
|
||||
|
||||
content: src/lib/ccid/target.mk
|
||||
|
||||
src/lib/ccid/target.mk:
|
||||
mkdir -p $(dir $@)
|
||||
echo "LIBS = ccid" > $@
|
||||
|
||||
content: LICENSE
|
||||
|
||||
LICENSE:
|
||||
echo "" >> $@
|
||||
echo "ccid library" >> $@
|
||||
echo "############" >> $@
|
||||
echo "" >> $@
|
||||
cat $(CCID_DIR)/src/lib/ccid/COPYING >> $@
|
||||
echo "" >> $@
|
||||
echo "pcsc-lite library" >> $@
|
||||
echo "#################" >> $@
|
||||
echo "" >> $@
|
||||
cat $(PCSC_DIR)/src/lib/pcsc-lite/COPYING >> $@
|
1
repos/libports/recipes/src/pcsc-lite/hash
Normal file
1
repos/libports/recipes/src/pcsc-lite/hash
Normal file
@ -0,0 +1 @@
|
||||
2022-06-20-h 540ad8c43f8a0643107072ae2cb7585f253dd37f
|
3
repos/libports/recipes/src/pcsc-lite/used_apis
Normal file
3
repos/libports/recipes/src/pcsc-lite/used_apis
Normal file
@ -0,0 +1,3 @@
|
||||
base
|
||||
libc
|
||||
libusb
|
Loading…
Reference in New Issue
Block a user