acsm-calibre-plugin/bundle_calibre_plugin.sh

23 lines
460 B
Bash
Raw Normal View History

2021-09-20 15:24:11 +06:00
#!/bin/bash
2021-09-25 20:24:03 +06:00
[ ! -f calibre-plugin/cryptography.zip ] && ./package_modules.sh
[ ! -f calibre-plugin/rsa.zip ] && ./package_modules.sh
[ ! -f calibre-plugin/asn1crypto.zip ] && ./package_modules.sh
[ ! -f calibre-plugin/oscrypto.zip ] && ./package_modules.sh
[ ! -f calibre-plugin/pyasn1.zip ] && ./package_modules.sh
2021-09-20 15:24:11 +06:00
pushd calibre-plugin
pushd keyextract
# Compile:
make
popd
2021-09-20 15:24:11 +06:00
2021-12-15 15:09:52 +06:00
echo -n "2021-12-15-01" > module_id.txt
2021-09-20 15:24:11 +06:00
zip -r ../calibre-plugin.zip *
popd