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

Unified Diff: ports/ruby/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/readline/build.sh ('k') | ports/ruby_ppapi/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/ruby/build.sh
diff --git a/ports/ruby/build.sh b/ports/ruby/build.sh
old mode 100755
new mode 100644
index 9b6a95ddadfdcbec514d5ea5104423862867cb3a..df679fa53b79b97c63d7e13a63db4fc81a549fd3
--- a/ports/ruby/build.sh
+++ b/ports/ruby/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
MAKE_TARGETS="pprogram"
INSTALL_TARGETS="install-nodoc DESTDIR=${NACL_TOOLCHAIN_INSTALL}"
@@ -38,13 +36,10 @@ ConfigureStep() {
export CXXFLAGS=${NACLPORTS_CXXFLAGS}
export LDFLAGS=${NACLPORTS_LDFLAGS}
export PATH=${NACL_BIN_PATH}:${PATH};
- local SRC_DIR=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR}
if [ ! -f "${SRC_DIR}/configure" ]; then
echo "No configure script found"
return
fi
- local DEFAULT_BUILD_DIR=${SRC_DIR}/${NACL_BUILD_SUBDIR}
- local BUILD_DIR=${NACL_BUILD_DIR:-${DEFAULT_BUILD_DIR}}
MakeDir ${BUILD_DIR}
ChangeDir ${BUILD_DIR}
echo "Directory: $(pwd)"
@@ -94,6 +89,3 @@ BuildStep() {
TranslateAndWriteSelLdrScript ruby.pexe x86-64 ruby.x86-64.nexe ruby
fi
}
-
-PackageInstall
-exit 0
« no previous file with comments | « ports/readline/build.sh ('k') | ports/ruby_ppapi/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698