0
|
1 <?xml version="1.0"?>
|
|
2 <tool_dependency>
|
1
|
3 <package name="gnu_sed" version="4.2.2-sandbox">
|
0
|
4 <install version="1.0">
|
|
5 <actions>
|
|
6 <action type="download_by_url">http://ftp.gnu.org/gnu/sed/sed-4.2.2.tar.gz</action>
|
|
7
|
|
8 <!-- add sandbox feature from Assaf Gordon to disable critial functions. -->
|
|
9 <action type="download_file">https://github.com/bgruening/download_store/raw/master/GNU/sed-e16266897f646e193a9a1287658a1847d68f1e51_sandbox.patch</action>
|
|
10 <action type="shell_command">patch -p1 -i sed-e16266897f646e193a9a1287658a1847d68f1e51_sandbox.patch</action>
|
1
|
11 <action type="autoconf"></action>
|
0
|
12 <action type="set_environment">
|
|
13 <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
|
|
14 </action>
|
|
15 </actions>
|
|
16 </install>
|
|
17 <readme>
|
|
18 Compiling GNU sed requires a C compiler and the GNU patch utility to add the --sandbox feature from Assaf Gordon.
|
|
19 </readme>
|
|
20 </package>
|
|
21 </tool_dependency>
|