Mercurial > repos > iuc > package_gnu_sed_4_2_2_sandbox
changeset 0:ffbbf3a6cae1 draft
Uploaded
author | iuc |
---|---|
date | Tue, 27 Aug 2013 03:02:26 -0400 |
parents | |
children | 4a4691c78042 |
files | tool_dependencies.xml |
diffstat | 1 files changed, 25 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Tue Aug 27 03:02:26 2013 -0400 @@ -0,0 +1,25 @@ +<?xml version="1.0"?> +<tool_dependency> + <package name="gnu_sed" version="4.2.2-sandbox"> + <install version="1.0"> + <actions> + <action type="shell_command">git clone --recursive git://git.sv.gnu.org/sed.git</action> + <action type="shell_command">git reset --hard e16266897f646e193a9a1287658a1847d68f1e51</action> + <action type="download_by_url">https://github.com/bgruening/download_store/raw/master/GNU/sed-e16266897f646e193a9a1287658a1847d68f1e51_sandbox.patch</action> + + <!-- add sandbox feature to disable critial functions. --> + <action type="shell_command">patch -p1 -i sed-e16266897f646e193a9a1287658a1847d68f1e51_sandbox.patch</action> + + <action type="shell_command">./configure --prefix=$INSTALL_DIR</action> + <action type="shell_command">make</action> + <action type="shell_command">make install</action> + <action type="set_environment"> + <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable> + </action> + </actions> + </install> + <readme> + Compiling GNU sed requires a C compiler and the GNU patch utility. + </readme> + </package> +</tool_dependency>