From 07698af914ca3ccb157554ce740b91c0801e3267 Mon Sep 17 00:00:00 2001 From: "Marat Zakiyanov (Mario79)" Date: Fri, 1 Jul 2011 19:04:04 +0000 Subject: [PATCH] zSea - buildall.sh for Linux git-svn-id: svn://kolibrios.org@1994 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/media/zsea/buildall.sh | 40 +++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100755 programs/media/zsea/buildall.sh diff --git a/programs/media/zsea/buildall.sh b/programs/media/zsea/buildall.sh new file mode 100755 index 0000000000..dd40d039b5 --- /dev/null +++ b/programs/media/zsea/buildall.sh @@ -0,0 +1,40 @@ +#!/bin/bash +# This script does for linux the same as build.bat for DOS + + mkdir ./zSea_bin + mkdir ./zSea_bin/buttons + mkdir ./zSea_bin/plugins + + echo "lang fix en" + echo "lang fix en" > ./lang.inc + fasm -m 16384 ./zSea.asm ./zSea_bin/zSea + kpack ./zSea_bin/zSea + + fasm -m 16384 ./plugins/bmp/cnv_bmp.asm ./zSea_bin/plugins/cnv_bmp.obj + kpack ./zSea_bin/plugins/cnv_bmp.obj + + fasm -m 16384 ./plugins/convert/convert.asm ./zSea_bin/plugins/convert.obj + kpack ./zSea_bin/plugins/convert.obj + + fasm -m 16384 ./plugins/gif/cnv_gif.asm ./zSea_bin/plugins/cnv_gif.obj + kpack ./zSea_bin/plugins/cnv_gif.obj + + fasm -m 16384 ./plugins/jpeg/cnv_jpeg.asm ./zSea_bin/plugins/cnv_jpeg.obj + kpack ./zSea_bin/plugins/cnv_jpeg.obj + + fasm -m 16384 ./plugins/png/cnv_png.asm ./zSea_bin/plugins/cnv_png.obj + kpack ./zSea_bin/plugins/cnv_png.obj + + fasm -m 16384 ./plugins/rotate/rotate.asm ./zSea_bin/plugins/rotate.obj + kpack ./zSea_bin/plugins/rotate.obj + + fasm -m 16384 ./plugins/scaling/scaling.asm ./zSea_bin/plugins/scaling.obj + kpack ./zSea_bin/plugins/scaling.obj + + cp ./zSea.ini ./zSea_bin/zSea.ini + cp ./Docs/zSea_keys.txt ./zSea_bin/zSea_keys.txt + cp ./buttons.png ./zSea_bin/buttons/buttons.png + + rm -f lang.inc + read + exit 0