summaryrefslogtreecommitdiffstats
path: root/installer/ogagent-devel-installer.sh
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2017-02-21 13:04:52 +0000
committerramon <ramongomez@us.es>2017-02-21 13:04:52 +0000
commit9d42c8eca9b475d21cafb6650879c8f5d460c896 (patch)
tree0815bbd6b229e0a5f76d54be43f1c42e05f2b78a /installer/ogagent-devel-installer.sh
parent812496df173ed974e3e08cb2e1a51db97a5d8d14 (diff)
#718: Crear paquete de instalaciĆ³n de OGAgent para macOS.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5210 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'installer/ogagent-devel-installer.sh')
-rwxr-xr-xinstaller/ogagent-devel-installer.sh20
1 files changed, 18 insertions, 2 deletions
diff --git a/installer/ogagent-devel-installer.sh b/installer/ogagent-devel-installer.sh
index fd8d5d21..c01f4c5a 100755
--- a/installer/ogagent-devel-installer.sh
+++ b/installer/ogagent-devel-installer.sh
@@ -27,6 +27,7 @@ Prerequisites:
- realpath
- dpkg-dev
- rpmbuild
+ - xar
- Open a web browser and download Microsoft Visual C++ 2010 Redistributable Package (x86) from: http://www.microsoft.com/en-us/download/details.aspx?id=5555
- Copy or move "vcredist_x86.exe" file to $PROGDIR directory.
Press [Enter] key when ready to continue.
@@ -61,11 +62,22 @@ cp -a build.bat ogagent.nsi ..
ln -s ../../.. wine/drive_c/ogagent
popd >/dev/null
-# Build OGAgent for GNU/Linux.
+# Download, compile and install bomutils.
+svn export https://github.com/hogliux/bomutils.git/trunk ogagent/macos/bomutils
+pushd ogagent/macos/bomutils >/dev/null
+make && make install
+popd >/dev/null
+
+# Build OGAgent for Linux.
pushd $PROGDIR/linux >/dev/null
sudo ./build-packages.sh
popd >/dev/null
+# Build OGAgent for macOS.
+pushd $PROGDIR/macos >/dev/null
+sudo ./build-pkg.sh
+popd >/dev/null
+
# Build OGAgent for Windows.
pushd $PROGDIR/windows >/dev/null
./build-windows.sh
@@ -82,10 +94,14 @@ OGAgent project source code is available in $PROGDIR/src directory.
cd $PROGDIR/src
./update.sh
-- Commands to rebuild GNU/Linux packages:
+- Commands to rebuild Linux packages:
cd $PROGDIR/linux
sudo ./build-packages.sh
+- Commands to rebuild macOS package:
+ cd $PROGDIR/macos
+ ./build-pkg.sh
+
- Commands to rebuild Windows installer:
cd $PROGDIR/windows
./build-windows.sh