Install library locally for compilation

This commit is contained in:
Jake Howard 2017-08-31 21:13:11 +01:00
parent 87252b7084
commit 24bb775f25
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -18,6 +18,7 @@ release:
lib_path: lib_path:
@rm -rf $(LIB_DIR) @rm -rf $(LIB_DIR)
@mkdir -p $(LIB_DIR) @mkdir -p $(LIB_DIR)
@rm -f /usr/lib/libsciter-gtk-64.so
pandoc: lib_path pandoc: lib_path
wget https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/${PANDOC_DL} -O $(LIB_DIR)/$(PANDOC_DL) wget https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/${PANDOC_DL} -O $(LIB_DIR)/$(PANDOC_DL)
@ -34,6 +35,7 @@ wktox: lib_path
sciter: lib_path sciter: lib_path
wget https://sciter.com/sdk/sciter-sdk.zip -O $(LIB_DIR)/sciter.zip wget https://sciter.com/sdk/sciter-sdk.zip -O $(LIB_DIR)/sciter.zip
unzip -j $(LIB_DIR)/sciter.zip "bin.gtk/libsciter-gtk-64.so" -d $(LIB_DIR) unzip -j $(LIB_DIR)/sciter.zip "bin.gtk/libsciter-gtk-64.so" -d $(LIB_DIR)
ln -sfP $(LIB_DIR)/libsciter-gtk-64.so /usr/lib/libsciter-gtk-64.so
rm $(LIB_DIR)/sciter.zip rm $(LIB_DIR)/sciter.zip
lib: pandoc wktox sciter lib: pandoc wktox sciter