--- /dev/null
+#!/bin/bash
+# clean
+clean()
+{
+ echo "=========================================CLEAN============================================"
+ cd ${SRCDIR}
+ bash -c "./build.sh clean"
+}
+
+# build
+build()
+{
+ echo "=========================================BUILD============================================"
+ cd ${SRCDIR}
+ bash -c "./build.sh build"
+}
+
+# install
+install()
+{
+ pkgname_and_platform_list=`awk 'BEGIN{RS="\n\n"; FS="\n"} /Package:/{for(i=1;i<NF;i++){if($i ~ /^OS:/){print $1,$i}}}' ${SRCDIR}/package/pkginfo.manifest | tr ' ' '@'`
+ for pkgname_and_platform in ${pkgname_and_platform_list}
+ do
+ echo "=========================================INSTALL============================================"
+ pkgname_and_platform=`echo $pkgname_and_platform | tr '@' ' '`
+ package_name=`echo ${pkgname_and_platform} | cut -f1 -d " " | cut -f2 -d ":"`
+ platform=`echo ${pkgname_and_platform} | cut -f2 -d " " | cut -f2 -d ":"`
+
+ if [ "x${TARGET_OS}" = "x${platform}" ]
+ then
+
+ INSTALL_DIR=${SRCDIR}/package/${package_name}.package.${platform}
+
+ mkdir -p ${INSTALL_DIR}/data/tools
+ cp ${SRCDIR}/build/idlc/tidlc ${INSTALL_DIR}/data/tools/
+
+ fi
+ done
+}
+
+[ "$1" = "clean" ] && clean
+[ "$1" = "build" ] && build
+[ "$1" = "install" ] && install
--- /dev/null
+#!/bin/bash
+# clean
+clean()
+{
+ echo "=========================================CLEAN============================================"
+ cd ${SRCDIR}
+ bash -c "./build.sh clean"
+}
+
+# build
+build()
+{
+ echo "=========================================BUILD============================================"
+ cd ${SRCDIR}
+ bash -c "./build.sh build"
+}
+
+# install
+install()
+{
+ echo "=========================================INSTALL============================================"
+ INSTALL_DIR=${SRCDIR}/package/tidlc.package.macos-64
+ mkdir -p ${INSTALL_DIR}/data/tools
+ cp ${SRCDIR}/build/idlc/tidlc ${INSTALL_DIR}/data/tools/
+}
+
+[ "$1" = "clean" ] && clean
+[ "$1" = "build" ] && build
+[ "$1" = "install" ] && install
+exit 0
--- /dev/null
+#!/bin/bash
+# clean
+clean()
+{
+ echo "=========================================CLEAN============================================"
+ cd ${SRCDIR}
+ bash -c "./build.sh clean"
+}
+
+# build
+build()
+{
+ echo "=========================================BUILD============================================"
+ cd ${SRCDIR}
+ bash -c "./build.sh build"
+}
+
+# install
+install()
+{
+ echo "=========================================INSTALL============================================"
+ INSTALL_DIR=${SRCDIR}/package/tidlc.package.${TARGET_OS}
+
+ mkdir -p ${INSTALL_DIR}/data/tools
+ cp ${SRCDIR}/build/idlc/tidlc ${INSTALL_DIR}/data/tools/
+ cp ${SRCDIR}/package/tidlc-run.bat ${INSTALL_DIR}/data/tools/
+}
+
+[ "$1" = "clean" ] && clean
+[ "$1" = "build" ] && build
+[ "$1" = "install" ] && install
+exit 0
--- /dev/null
+Version:1.0.10
+Source:tidlc
+Maintainer:JungHoon Park <jh9216.park@samsung.com>, Hwankyu Jhun <h.jhun@samsung.com>, Inkyun Kil <inkyun.kil@samsung.com>
+
+Package:tidlc
+OS:ubuntu-32
+Build-host-os:ubuntu-32
+Description:Compiler for making stub or proxy code block from TIDL file
+
+Package:tidlc
+OS:windows-32
+Build-host-os:windows-32
+Description:Compiler for making stub or proxy code block from TIDL file
+
+Package:tidlc
+OS:ubuntu-64
+Build-host-os:ubuntu-64
+Description:Compiler for making stub or proxy code block from TIDL file
+
+Package:tidlc
+OS:windows-64
+Build-host-os:windows-64
+Description:Compiler for making stub or proxy code block from TIDL file
+
+Package:tidlc
+OS:macos-64
+Build-host-os:macos-64
+Description:Compiler for making stub or proxy code block from TIDL file
--- /dev/null
+@echo off
+set SCRIPT=%0
+
+:: delims is a TAB followed by a space
+set KEY=TIZEN_SDK_INSTALLED_PATH
+
+REM find sdk path
+set rkey="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders"
+set rval="Local AppData"
+FOR /f "tokens=3*" %%a IN ('reg query %rkey% /v %rval%') DO (
+ set sdk_conf_path=%%b
+)
+
+REM find cli path
+FOR /f "tokens=1,2 delims==" %%i IN ('type "%sdk_conf_path%\tizen-sdk-data\tizensdkpath"') DO IF %%i==%KEY% (set SDK_PATH=%%j)
+set TOOLS_HOME=%SDK_PATH%\tools
+
+set EXEC=%TOOLS_HOME%\tidlc.exe %*
+%EXEC%
--- /dev/null
+#!/bin/bash -x
+
+s=`cat ${HOME}/.bashrc | grep -n "## Tizen SDK configuration" | cut -f1 -d":"`
+
+if [ "x${s}" = "x" ] ; then
+ cat >> ${HOME}/.bashrc << END
+## Tizen SDK configuration
+# This is generated by Tizen SDK. Please do not modify by yourself.
+export PATH=\$PATH:${INSTALLED_PATH}/tools
+## End Tizen SDK configuration
+END
+fi
+
+source ${HOME}/.bashrc
+
+exit 0
--- /dev/null
+#!/bin/bash -x
+
+s=`cat ${HOME}/.bashrc | grep -n "## Tizen SDK configuration" | cut -f1 -d":"`
+
+if [ "x${s}" = "x" ] ; then
+ cat >> ${HOME}/.bashrc << END
+## Tizen SDK configuration
+# This is generated by Tizen SDK. Please do not modify by yourself.
+export PATH=\$PATH:${INSTALLED_PATH}/tools
+## End Tizen SDK configuration
+END
+fi
+
+source ${HOME}/.bashrc
+
+exit 0
--- /dev/null
+#!/bin/sh
+rm ${INSTALLED_PATH}/tidlc
+s=`cat ${HOME}/.bashrc | grep -n "## Tizen SDK configuration" | cut -f1 -d":"`
+
+if [ "x${s}" = "x" ] ; then
+ exit 1
+fi
+
+if [ ${s} -ge 0 ] ; then
+ e=`cat ${HOME}/.bashrc | grep -n "## End Tizen SDK configuration" | cut -f1 -d":"`
+ if [ $e -ge $s ] ; then
+ cp ${HOME}/.bashrc ${HOME}/.bashrc.tizen
+ sed "${s},${e}d" ${HOME}/.bashrc > ${HOME}/.bashrc.swap
+ mv ${HOME}/.bashrc.swap ${HOME}/.bashrc
+ source ${HOME}/.bashrc
+ fi
+fi
+
+exit 0
--- /dev/null
+#!/bin/sh
+rm ${INSTALLED_PATH}/tidlc
+s=`cat ${HOME}/.bashrc | grep -n "## Tizen SDK configuration" | cut -f1 -d":"`
+
+if [ "x${s}" = "x" ] ; then
+ exit 1
+fi
+
+if [ ${s} -ge 0 ] ; then
+ e=`cat ${HOME}/.bashrc | grep -n "## End Tizen SDK configuration" | cut -f1 -d":"`
+ if [ $e -ge $s ] ; then
+ cp ${HOME}/.bashrc ${HOME}/.bashrc.tizen
+ sed "${s},${e}d" ${HOME}/.bashrc > ${HOME}/.bashrc.swap
+ mv ${HOME}/.bashrc.swap ${HOME}/.bashrc
+ source ${HOME}/.bashrc
+ fi
+fi
+
+exit 0
--- /dev/null
+@echo off
+
+set execute_path=tools
+del %INSTALLED_PATH%\%execute_path%\tidlc.exe
+exit 0