1
0
Fork 0

add the ArangoDBStarter to the packages

This commit is contained in:
Wilfried Goesgens 2017-04-13 14:27:33 +02:00
parent 4567be8688
commit c6d65ea0fa
2 changed files with 8 additions and 3 deletions

View File

@ -617,15 +617,15 @@ if test ${DOWNLOAD_STARTER} == 1; then
curl -LO "${STARTER_URL}" curl -LO "${STARTER_URL}"
FN=`echo ${STARTER_URL} |${SED} "s;.*/;;"` FN=`echo ${STARTER_URL} |${SED} "s;.*/;;"`
if test "${isCygwin}" == 1; then if test "${isCygwin}" == 1; then
TN=ArangoDBStarter.exe TN=arangodb.exe
else else
TN=ArangoDBStarter TN=arangodb
fi fi
mkdir -p ${BUILD_DIR} mkdir -p ${BUILD_DIR}
mv ${FN} ${BUILD_DIR}/${TN} mv ${FN} ${BUILD_DIR}/${TN}
chmod a+x ${BUILD_DIR}/${TN} chmod a+x ${BUILD_DIR}/${TN}
fi fi
CONFIGURE_OPTIONS="${CONFIGURE_OPTIONS} -DTHIRDPARTY_SBIN=${BUILD_DIR}/${TN} " CONFIGURE_OPTIONS="${CONFIGURE_OPTIONS} -DTHIRDPARTY_BIN=${BUILD_DIR}/${TN} "
fi fi
test -d ${BUILD_DIR} || mkdir ${BUILD_DIR} test -d ${BUILD_DIR} || mkdir ${BUILD_DIR}

View File

@ -232,3 +232,8 @@ if (THIRDPARTY_SBIN)
install(FILES ${THIRDPARTY_SBIN} install(FILES ${THIRDPARTY_SBIN}
DESTINATION "${CMAKE_INSTALL_SBINDIR}") DESTINATION "${CMAKE_INSTALL_SBINDIR}")
endif() endif()
if (THIRDPARTY_BIN)
install(FILES ${THIRDPARTY_BIN}
DESTINATION "${CMAKE_INSTALL_BINDIR}")
endif()