diff options
Diffstat (limited to 'archive/lha/BUILD')
-rwxr-xr-x | archive/lha/BUILD | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/archive/lha/BUILD b/archive/lha/BUILD new file mode 100755 index 0000000000..11d295e00d --- /dev/null +++ b/archive/lha/BUILD @@ -0,0 +1,11 @@ + sedit "s:/local::" Makefile && + sedit "s:MANSECT\ =\ n:MANSECT\ =\ 1:" Makefile && + sedit "s:/usr/bin:${INSTALL_ROOT}/usr/bin:" Makefile && + sedit "s:/usr/man:${INSTALL_ROOT}/usr/man:" Makefile && + sedit "s/-O2/$CFLAGS/" Makefile && + cp $SCRIPT_DIRECTORY/lha.n man/lha.n && + cd src/ && + patch -p0 < $SCRIPT_DIRECTORY/lha.patch && + patch -p0 < $SCRIPT_DIRECTORY/lha.obscure_buf_oflow.patch && + cd - && + make |