diff options
author | Khem Raj <raj.khem@gmail.com> | 2009-10-21 21:43:58 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2009-10-21 21:51:52 -0700 |
commit | 2f5e8ec24066a3488066594768bbbde4fd7140c5 (patch) | |
tree | 4b9b8d81fb790a137e5f1a37ccc41149d9d44e18 /recipes/openscada/openscada_svn.bb | |
parent | a9447264efcef76f4e3759c3f61bfd37b89b5337 (diff) |
openscada: Add new recipe for openscada svn trunk.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/openscada/openscada_svn.bb')
-rw-r--r-- | recipes/openscada/openscada_svn.bb | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/recipes/openscada/openscada_svn.bb b/recipes/openscada/openscada_svn.bb new file mode 100644 index 0000000000..acb700c0d1 --- /dev/null +++ b/recipes/openscada/openscada_svn.bb @@ -0,0 +1,51 @@ +# Copyright (C) 2009 Khem Raj <raj.khem@gmail.com> +# Released under the MIT license (see COPYING.MIT for the terms) + +DESCRIPTION = "OpenSCADA system is open implementation SCADA (Supervisory controll and data acquisition) systems" +HOMEPAGE = "http://oscada.org.ua/" +LICENSE = "GPL" +SECTION = "Applications" +DEPENDS = "gd mysql expat sqlite3 lmsensors-apps fftw qt4-x11-free" +#SRC_URI = "ftp://ftp.oscada.org/OpenSCADA/0.6.4/openscada-0.6.4.tar.gz" +SRC_URI = "svn://oscada.org.ua/trunk;module=OpenSCADA;rev=;proto=svn \ + file://rcc-moc.patch;patch=1 \ + " + +PV = "0.6.4" +PR = "svn" + +S = "${WORKDIR}/OpenSCADA" + +inherit autotools_stage + +EXTRA_OECONF = " \ + --includedir=${STAGING_INCDIR} \ + --oldincludedir=${STAGING_INCDIR} \ + --disable-SQLite \ + --disable-MySQL \ + --disable-FireBird \ + --without-sqlite3 \ + --without-firebird \ + --disable-SoundCard \ + --disable-Vision \ + --disable-WebVision \ + --disable-shared \ +" + +#do_configure_prepend() { +# autoconf +#} + +#do_configure() { +# oe_runconf +#} + + +do_install_prepend () { + mkdir -p -m 755 ${D}/etc + cp ${S}/data/oscada.xml ${D}/etc + mkdir -p -m 755 ${D}/var/spool/openscada/icons + cp ${S}/data/icons/* ${D}/var/spool/openscada/icons + install -p -m 777 -d ${D}/var/spool/openscada/ARCHIVES/{MESS,VAL} +} + |