EEE is a program that combines multiple files and actions into a compressed Windows, Linux or Mac
OS X (Darwin) executable. Do you have to distribute DLL's or SO's along with your application? The
interpreter with you script? The runtime environment with your program? EEE is what you're looking
for!
http://www.erikveen.dds.nl/eee/index.html
Quick example:
We will add some tools from here.
1. Prepare htools.eee file:
Code: Select all
f runner.sh
f info
f crc32
f md5
f sha1
t chmod a+x crc32
t chmod a+x md5
t chmod a+x sha1
t chmod a+x runner.sh
t ./runner.sh %parms%
f - store file in package
t - execute command
2. runner.sh:
Code: Select all
#!/bin/sh
if [[ -z "$@" ]]; then
cat ./info
else
output="$(./$@)"
echo "$output"
fi
3. info:
Code: Select all
Hash Tools v1.0 (x64 version)
Usage: htools tool [option]
Tools:
crc32 - calculate the CRC32 checksum of the given file
md5 - calculate the MD5 checksum of the given file
sha1 - calculate the SHA1 checksum of the given file
sha2 - calculate the SHA2 checksum of the given file
sha3 - calculate the SHA3 checksum of the given file
4. Make package:
Code: Select all
eee_linux htools.eee htools
5. Usage:
Code: Select all
htools - shows info file
htools crc32 - shows crc32 help
htools crc32 -s Hello World - string checksum
Similar topic:
viewtopic.php?t=3250