Difference between revisions of "SGMLS"

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

Revision as of 12:33, 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 &&
make install_html &&
rm -v -f /usr/share/doc/perl5/SGMLSpm/sample.pl &&
install -v -m644 DOC/sample.pl /usr/share/doc/perl5/SGMLSpm

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