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

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

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

Powered by Google App Engine
This is Rietveld 408576698