source: scripts/untested/blfs-scripts/blfs-sgmlspm.sh@ b15e4602

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since b15e4602 was 8a3554d, checked in by Jim Gifford <clfs@…>, 19 years ago

r611@server (orig r609): ryan | 2005-08-05 23:37:09 -0700
Ensure all output goes to the logfiles


  • Property mode set to 100755
File size: 771 bytes
Line 
1#!/bin/sh
2
3### sgmlspm ###
4
5cd ${SRC}
6LOG=sgmlspm-blfs.log
7
8SELF=`basename ${0}`
9set_buildenv
10set_libdirname
11setup_multiarch
12
13unpack_tarball SGMLSpm-${SGMLSPM_VER}
14cd ${PKGDIR}
15
16max_log_init sgmlspm ${SGMLSPM_VER} "blfs (shared)" ${CONFLOGS} ${LOG}
17(
18sed -i -e "s@/usr/local/bin@/usr/bin@" \
19 -e "s@/usr/local/lib/perl5@/usr/${libdirname}/perl5/site_perl/${PERL_VER}@" \
20 -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \
21 Makefile
22) >> ${LOGFILE} 2>&1 &&
23echo " o Configure OK" || barf
24
25min_log_init ${INSTLOGS} &&
26(
27make install &&
28install -d -m 755 /usr/share/doc/perl5 &&
29make install_html &&
30rm -f /usr/share/doc/perl5/SGMLSpm/sample.pl &&
31install -m 644 DOC/sample.pl /usr/share/doc/perl5/SGMLSpm
32) >> ${LOGFILE} 2>&1 &&
33echo " o ALL OK" || barf
Note: See TracBrowser for help on using the repository browser.