|
|
@ -2,10 +2,13 @@ |
|
|
|
|
|
|
|
|
|
|
|
MINGW_PATH=/usr/i686-pc-mingw32/sys-root/mingw/bin |
|
|
|
MINGW_PATH=/usr/i686-pc-mingw32/sys-root/mingw/bin |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OUT_BASE="cpuminer-installer" |
|
|
|
|
|
|
|
OUT_EXE="$OUT_BASE.exe" |
|
|
|
|
|
|
|
|
|
|
|
PATH=$PATH:$MINGW_PATH \ |
|
|
|
PATH=$PATH:$MINGW_PATH \ |
|
|
|
nsiswrapper --run \ |
|
|
|
nsiswrapper --run \ |
|
|
|
--name "CPU miner" \ |
|
|
|
--name "CPU miner" \ |
|
|
|
--outfile cpuminer-installer.exe \ |
|
|
|
--outfile "$OUT_EXE" \ |
|
|
|
minerd.exe \ |
|
|
|
minerd.exe \ |
|
|
|
$MINGW_PATH/libcurl-4.dll=libcurl-4.dll \ |
|
|
|
$MINGW_PATH/libcurl-4.dll=libcurl-4.dll \ |
|
|
|
$MINGW_PATH/pthreadgc2.dll=pthreadgc2.dll \ |
|
|
|
$MINGW_PATH/pthreadgc2.dll=pthreadgc2.dll \ |
|
|
@ -17,4 +20,15 @@ PATH=$PATH:$MINGW_PATH \ |
|
|
|
$MINGW_PATH/libiconv-2.dll=libiconv-2.dll \ |
|
|
|
$MINGW_PATH/libiconv-2.dll=libiconv-2.dll \ |
|
|
|
$MINGW_PATH/libintl-8.dll=libintl-8.dll |
|
|
|
$MINGW_PATH/libintl-8.dll=libintl-8.dll |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
chmod 0755 "$OUT_EXE" |
|
|
|
|
|
|
|
zip -9 "$OUT_BASE" "$OUT_EXE" |
|
|
|
|
|
|
|
rm -f "$OUT_EXE" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
chmod 0644 "$OUT_BASE.zip" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo -n "SHA1: " |
|
|
|
|
|
|
|
sha1sum "$OUT_BASE.zip" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
echo -n "MD5: " |
|
|
|
|
|
|
|
md5sum "$OUT_BASE.zip" |
|
|
|
|
|
|
|
|
|
|
|