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

Side by Side Diff: ports/thttpd/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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ports/texlive/build.sh ('k') | ports/tiff/build.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 source pkg_info
7 source ../../build_tools/common.sh
8 6
9 ConfigureStep() { 7 ConfigureStep() {
10 Banner "Configuring ${PACKAGE_NAME}" 8 Banner "Configuring ${PACKAGE_NAME}"
11 9
12 local PACKAGE_DIR="${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}" 10 local PACKAGE_DIR="${NACL_PACKAGES_REPOSITORY}/${PACKAGE_NAME}"
13 ChangeDir ${PACKAGE_DIR} 11 ChangeDir ${PACKAGE_DIR}
14 FILES=" 12 FILES="
15 my_syslog.h 13 my_syslog.h
16 nacl_module.cpp 14 nacl_module.cpp
17 nacl_module.h 15 nacl_module.h
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 cp ${BUILD_DIR}/thttpd ${BUILD_DIR}/thttpd_${NACL_ARCH}${NACL_EXEEXT} 49 cp ${BUILD_DIR}/thttpd ${BUILD_DIR}/thttpd_${NACL_ARCH}${NACL_EXEEXT}
52 install ${BUILD_DIR}/thttpd_${NACL_ARCH}${NACL_EXEEXT} ${PUBLISH_DIR}/ 50 install ${BUILD_DIR}/thttpd_${NACL_ARCH}${NACL_EXEEXT} ${PUBLISH_DIR}/
53 ChangeDir ${PUBLISH_DIR} 51 ChangeDir ${PUBLISH_DIR}
54 52
55 CMD="$NACL_SDK_ROOT/tools/create_nmf.py \ 53 CMD="$NACL_SDK_ROOT/tools/create_nmf.py \
56 -o thttpd.nmf -s . \ 54 -o thttpd.nmf -s . \
57 thttpd_*${NACL_EXEEXT}" 55 thttpd_*${NACL_EXEEXT}"
58 56
59 LogExecute $CMD 57 LogExecute $CMD
60 } 58 }
61
62
63 PackageInstall
64 exit 0
OLDNEW
« no previous file with comments | « ports/texlive/build.sh ('k') | ports/tiff/build.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698