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

Unified Diff: ports/OpenSceneGraph/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/Mesa/build.sh ('k') | ports/Regal/build.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ports/OpenSceneGraph/build.sh
diff --git a/ports/OpenSceneGraph/build.sh b/ports/OpenSceneGraph/build.sh
old mode 100755
new mode 100644
index 5b49f019865731487a2d025f95915feda06cb6fb..72ded7c7a3063d6cdea88d310871e1284aa1f7d9
--- a/ports/OpenSceneGraph/build.sh
+++ b/ports/OpenSceneGraph/build.sh
@@ -3,11 +3,13 @@
# 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}"
+ Banner "No configure step"
+}
+
+BuildStep() {
# export the nacl tools
export CC=${NACLCC}
export CXX=${NACLCXX}
@@ -20,10 +22,10 @@ ConfigureStep() {
export LIB_OSG=libosg.a
export LIB_OSGUTIL=libosgUtil.a
export LIB_OPENTHREADS=libOpenThreads.a
-
- ChangeDir ${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}
+ DefaultBuildStep
}
+
InstallStep() {
Remove ${NACLPORTS_INCLUDE}/osg
Remove ${NACLPORTS_INCLUDE}/osgUtil
@@ -39,7 +41,3 @@ InstallStep() {
install -m 644 ${LIB_OSGUTIL} ${NACLPORTS_LIBDIR}/${LIB_OSGUTIL}
install -m 644 ${LIB_OPENTHREADS} ${NACLPORTS_LIBDIR}/${LIB_OPENTHREADS}
}
-
-
-PackageInstall
-exit 0
« no previous file with comments | « ports/Mesa/build.sh ('k') | ports/Regal/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698