SGMLS

From CBLFS
Revision as of 12:59, 19 October 2010 by Weibullguy (talk | contribs) (moved Perl Module SGMLS to SGMLS)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: http://cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-1.03ii.tar.gz

Introduction to SGMLS

Project Homepage: Unknown

Non-Multilib

If your system's Perl version is different than 5.8.8, you'll need to modify the sed command below to reflect the version you have installed.

sed -i -e 's@/usr/local/bin@/usr/bin@' \
       -e 's@/usr/local/lib/perl5@$(shell perl -V:sitelibexp | cut -d'"\\\\'"' -f2)@' \
       -e 's@/usr/local/lib/www/docs@/usr/share/doc/perl5@' \
    Makefile

Install the module:

make install &&
install -v -m755 -d /usr/share/doc/perl5 &&
rm -v DOC/HTML/SGMLSpm/sample.pl &&
cp -v DOC/sample.pl DOC/HTML/SGMLSpm/sample.pl &&
make install_html

Multilib

32Bit

If your system's Perl version is different than 5.8.8, you'll need to modify the sed command below to reflect the version you have installed.

sed -i -e 's@/usr/local/bin@/usr/bin@' \
       -e 's@/usr/local/lib/perl5@$(shell perl -V:sitelibexp | cut -d'"\\\\'"' -f2)@' \
       -e 's@/usr/local/lib/www/docs@/usr/share/doc/perl5@' \
    Makefile

Install the module:

USE_ARCH=32 make install

N32

If your system's Perl version is different than 5.8.8, you'll need to modify the sed command below to reflect the version you have installed.

sed -i -e 's@/usr/local/bin@/usr/bin@' \
       -e 's@/usr/local/lib/perl5@$(shell perl -V:sitelibexp | cut -d'"\\\\'"' -f2)@' \
       -e 's@/usr/local/lib/www/docs@/usr/share/doc/perl5@' \
    Makefile

Install the module:

USE_ARCH=n32 make install

64Bit

If your system's Perl version is different than 5.8.8, you'll need to modify the sed command below to reflect the version you have installed.

sed -i -e 's@/usr/local/bin@/usr/bin@' \
       -e 's@/usr/local/lib/perl5@$(shell perl -V:sitelibexp | cut -d'"\\\\'"' -f2)@' \
       -e 's@/usr/local/lib/www/docs@/usr/share/doc/perl5@' \
    Makefile

Install the module:

USE_ARCH=64 make install &&
install -v -m755 -d /usr/share/doc/perl5 &&
rm -v DOC/HTML/SGMLSpm/sample.pl &&
cp -v DOC/sample.pl DOC/HTML/SGMLSpm/sample.pl &&
make install_html
Retrieved from "?title=SGMLS&oldid=20490"