aboutsummaryrefslogtreecommitdiffhomepage
path: root/sundry/spine_search_cgi/makefile
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-02-25 19:59:47 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2022-02-25 20:54:19 -0500
commit78a231014be3a76e9e546b31a5e6fa2a9a7b720e (patch)
tree89c64cc66898e20b7f2f81e837df68f265c62757 /sundry/spine_search_cgi/makefile
parentverbosity level, "vox_gt[lv]" (voice greater than) (diff)
external dependency update, housekeeping, routine
Diffstat (limited to 'sundry/spine_search_cgi/makefile')
-rw-r--r--sundry/spine_search_cgi/makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/sundry/spine_search_cgi/makefile b/sundry/spine_search_cgi/makefile
new file mode 100644
index 0000000..5edde7c
--- /dev/null
+++ b/sundry/spine_search_cgi/makefile
@@ -0,0 +1,35 @@
+get_depends:
+ hwd=$$(echo `pwd`) && \
+ gwd="$${hwd}/src/ext_depends_cgi" && \
+ dirs=$$(echo `ls -gx $${gwd}`) && \
+ license_bsl="Boost Software License 1.0 (BSL-1.0)" && \
+ echo $${hwd} && \
+ echo $${gwd} && \
+ echo $${dirs} && \
+ dub upgrade; \
+ cd $${gwd} && \
+ for dir in $${dirs}; do \
+ if [ -d $${dir} ]; then \
+ echo $${dir} && \
+ if [[ "arsd" == $${dir} ]]; then \
+ echo $${dir} && \
+ rm -rf $${dir} && \
+ mkdir $${dir} && \
+ aria2c -o "$${dir}/cgi.d" "https://raw.githubusercontent.com/adamdruppe/arsd/master/cgi.d" && \
+ cd $${gwd}; \
+ elif [[ "d2sqlite3" == $${dir} ]]; then \
+ echo $${dir} && \
+ rm -rf $${dir} && \
+ git clone --depth=1 https://github.com/dlang-community/$${dir} && \
+ cd $${dir} && \
+ echo "$${dir} `git rev-parse HEAD | cut -c 1-8`" > ../$${dir}.meta && \
+ echo "https://github.com/dlang-community/$${dir}" >> ../$${dir}.meta && \
+ echo "$${license_bsl}" >> ../$${dir}.meta && \
+ cd $${gwd} && \
+ rm -rf $${dir}/.git; \
+ fi; \
+ fi; \
+ done; \
+ cd $${hwd}
+set_depends: get_depends
+ dub describe | sed 's~$(shell echo `pwd | sed 's_/_\\/_g'`)~.~g' > dub_describe.json