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

Unified Diff: ports/scummvm/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/ruby_ppapi/build.sh ('k') | ports/snes9x/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/scummvm/build.sh
diff --git a/ports/scummvm/build.sh b/ports/scummvm/build.sh
old mode 100755
new mode 100644
index 5548892306d2778a476ada724b180d569469c7eb..b55adb53cbbb5488687f5d89ca56c3a43f44c7ca
--- a/ports/scummvm/build.sh
+++ b/ports/scummvm/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
# Beneath a Steel Sky (floppy version)
readonly BASS_FLOPPY_URL=http://commondatastorage.googleapis.com/nativeclient-mirror/nacl/scummvm_games/bass/BASS-Floppy-1.3.zip
@@ -35,13 +33,10 @@ ConfigureStep() {
export LDFLAGS=${NACLPORTS_LDFLAGS}
export PATH="${NACL_BIN_PATH}:${PATH}"
export PATH="${NACLPORTS_PREFIX_BIN}:${PATH}"
- local SRC_DIR=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_DIR}
if [ ! -f "${NACL_CONFIGURE_PATH:-${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)"
@@ -71,7 +66,6 @@ ConfigureStep() {
}
InstallStep() {
- SRC_DIR=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
SCUMMVM_DIR=runimage/usr/local/share/scummvm
ChangeDir ${SRC_DIR}
@@ -181,6 +175,3 @@ PackageInstall() {
GameGetStep ${LURE_URL} ${LURE_NAME}
DefaultPackageInstall
}
-
-PackageInstall
-exit 0
« no previous file with comments | « ports/ruby_ppapi/build.sh ('k') | ports/snes9x/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698