Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Unified Diff: ports/openssh/build.sh

Issue 132343007: Add top level build script for building packages. (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ports/opencv/build.sh ('k') | ports/openssl/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/openssh/build.sh
diff --git a/ports/openssh/build.sh b/ports/openssh/build.sh
old mode 100755
new mode 100644
index 3890778773737b15462802cd6df7b341b4b30724..f62cf4e1287ae854b46835456e2327561049d6c1
--- a/ports/openssh/build.sh
+++ b/ports/openssh/build.sh
@@ -3,8 +3,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-source pkg_info
-source ../../build_tools/common.sh
EXECUTABLES="scp${NACL_EXEEXT} ssh${NACL_EXEEXT} \
ssh-add${NACL_EXEEXT} sshd${NACL_EXEEXT}"
@@ -42,10 +40,7 @@ ConfigureStep() {
export CXXFLAGS=${NACLPORTS_CXXFLAGS}
export LDFLAGS=${NACLPORTS_LDFLAGS}
export PATH=${NACL_BIN_PATH}:${PATH};
- local SRC_DIR=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR}
local CONFIGURE=${NACL_CONFIGURE_PATH:-${SRC_DIR}/configure}
- local DEFAULT_BUILD_DIR=${SRC_DIR}/${NACL_BUILD_SUBDIR}
- local BUILD_DIR=${NACL_BUILD_DIR:-${DEFAULT_BUILD_DIR}}
MakeDir ${BUILD_DIR}
ChangeDir ${BUILD_DIR}
@@ -88,6 +83,3 @@ InstallStep() {
LogExecute cp ${START_DIR}/background.js ${ASSEMBLY_DIR}
LogExecute cp ${START_DIR}/manifest.json ${ASSEMBLY_DIR}
}
-
-PackageInstall
-exit 0
« no previous file with comments | « ports/opencv/build.sh ('k') | ports/openssl/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698