Difference between revisions of "SGMLS"

From CBLFS
Jump to navigationJump to search
m (64Bit)
m (Non-Multilib)
Line 23: Line 23:
 
  install -v -m755 -d /usr/share/doc/perl5 &&
 
  install -v -m755 -d /usr/share/doc/perl5 &&
 
  rm -v DOC/HTML/SGMLSpm/sample.pl &&
 
  rm -v DOC/HTML/SGMLSpm/sample.pl &&
  cp -v DOC/sample.pl DOC/HTML/SGMLSpm/sample.pl
+
  cp -v DOC/sample.pl DOC/HTML/SGMLSpm/sample.pl &&
 
  make install_html
 
  make install_html
  

Revision as of 11:36, 22 August 2009

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=18915"