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

Side by Side Diff: ports/coreutils/build.sh

Issue 135853011: Add coreutils (Closed) Base URL: https://naclports.googlecode.com/svn/trunk/src
Patch Set: rebase 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 | « Makefile ('k') | ports/coreutils/coreutils-8.22.sha1 » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/bin/bash
2 # Copyright (c) 2014 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 export EXTRA_LIBS="-lppapi -lppapi_cpp -lppapi_simple -lcli_main -lnacl_io"
7 CONFIG_SUB=support/config.sub
8
9 BuildStep() {
10 # Disable all assembly code by specifying none-none-none.
11 DefaultBuildStep --target=none-none-none
12 }
13
14 InstallStep() {
15 Banner "Installing ${PACKAGE_NAME}"
16
17 local nexes="\
18 [
19 base64
20 basename
21 cat
22 chcon
23 chgrp
24 chmod
25 chown
26 chroot
27 cksum
28 comm
29 cp
30 csplit
31 cut
32 date
33 dd
34 df
35 dir
36 dircolors
37 dirname
38 du
39 echo
40 env
41 expand
42 expr
43 factor
44 false
45 fmt
46 fold
47 getlimits
48 ginstall
49 groups
50 head
51 hostid
52 id
53 join
54 kill
55 link
56 ln
57 logname
58 ls
59 make-prime-list
60 md5sum
61 mkdir
62 mkfifo
63 mknod
64 mktemp
65 mv
66 nice
67 nl
68 nohup
69 nproc
70 numfmt
71 od
72 paste
73 pathchk
74 pinky
75 pr
76 printenv
77 printf
78 ptx
79 pwd
80 readlink
81 realpath
82 rm
83 rmdir
84 runcon
85 seq
86 setuidgid
87 sha1sum
88 sha224sum
89 sha256sum
90 sha384sum
91 sha512sum
92 shred
93 shuf
94 sleep
95 sort
96 split
97 stat
98 stdbuf
99 stty
100 sum
101 sync
102 tac
103 tail
104 tee
105 test
106 timeout
107 touch
108 tr
109 true
110 truncate
111 tsort
112 tty
113 uname
114 unexpand
115 uniq
116 unlink
117 uptime
118 users
119 vdir
120 wc
121 who
122 whoami
123 yes
124 "
125
126 MakeDir ${PUBLISH_DIR}
127 for name in ${nexes}; do
128 cp src/${name}${NACL_EXEEXT} \
129 ${PUBLISH_DIR}/${name}_${NACL_ARCH}${NACL_EXEEXT}
130
131 pushd ${PUBLISH_DIR}
132 LogExecute python ${NACL_SDK_ROOT}/tools/create_nmf.py \
133 ${PUBLISH_DIR}/${name}_*${NACL_EXEEXT} \
134 -s . \
135 -o ${name}.nmf
136 popd
137 done
138 }
OLDNEW
« no previous file with comments | « Makefile ('k') | ports/coreutils/coreutils-8.22.sha1 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698