source: scripts/untested/blfs-scripts/blfs-sgmlspm.sh@ 7882dc5

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 7882dc5 was 617118d, checked in by Jim Gifford <clfs@…>, 19 years ago

r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure

  • Property mode set to 100755
File size: 741 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}
17sed -i -e "s@/usr/local/bin@/usr/bin@" \
18 -e "s@/usr/local/lib/perl5@/usr/${libdirname}/perl5/site_perl/${PERL_VER}@" \
19 -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \
20 Makefile \
21 >> ${LOGFILE} 2>&1 &&
22
23min_log_init ${INSTLOGS} &&
24make install \
25 >> ${LOGFILE} 2>&1 &&
26echo " o ALL OK" || barf
27
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
Note: See TracBrowser for help on using the repository browser.