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

Unified Diff: ports/libmng/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/libmikmod/build.sh ('k') | ports/libmodplug/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/libmng/build.sh
diff --git a/ports/libmng/build.sh b/ports/libmng/build.sh
old mode 100755
new mode 100644
index 86a6767698ec1a9c54e8b9f239183704f79c62fd..888f0da7c0366e62a22808d96a98a81bed5f692e
--- a/ports/libmng/build.sh
+++ b/ports/libmng/build.sh
@@ -3,8 +3,7 @@
# 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
+BUILD_DIR=${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
ConfigureStep() {
Banner "Configuring ${PACKAGE_NAME}"
@@ -13,11 +12,8 @@ ConfigureStep() {
export CXX=${NACLCXX}
export AR=${NACLAR}
export RANLIB=${NACLRANLIB}
- ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
+ ChangeDir ${BUILD_DIR}
./unmaintained/autogen.sh \
--host=nacl \
--prefix=${NACLPORTS_PREFIX}
}
-
-PackageInstall
-exit 0
« no previous file with comments | « ports/libmikmod/build.sh ('k') | ports/libmodplug/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698