Difference between revisions of "SGMLS"

From CBLFS
Jump to navigationJump to search
Line 11: Line 11:
 
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.
 
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@" \
+
  sed -i -e 's@/usr/local/bin@/usr/bin@' \
         -e "s@/usr/local/lib/perl5@/usr/lib/perl5/site_perl/5.8.8@" \
+
         -e 's@/usr/local/lib/perl5@$(shell perl -V:sitelibexp | cut -d'"\\\\'"' -f2)@' \
         -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \
+
         -e 's@/usr/local/lib/www/docs@/usr/share/doc/perl5@' \
 
     Makefile
 
     Makefile
  
Line 30: Line 30:
 
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.
 
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@" \
+
  sed -i -e 's@/usr/local/bin@/usr/bin@' \
         -e "s@/usr/local/lib/perl5@/usr/lib/perl5/site_perl/5.8.8@" \
+
         -e 's@/usr/local/lib/perl5@$(shell perl -V:sitelibexp | cut -d'"\\\\'"' -f2)@' \
         -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \
+
         -e 's@/usr/local/lib/www/docs@/usr/share/doc/perl5@' \
 
     Makefile
 
     Makefile
  
Line 43: Line 43:
 
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.
 
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@" \
+
  sed -i -e 's@/usr/local/bin@/usr/bin@' \
         -e "s@/usr/local/lib/perl5@/usr/lib/perl5/site_perl/5.8.8@" \
+
         -e 's@/usr/local/lib/perl5@$(shell perl -V:sitelibexp | cut -d'"\\\\'"' -f2)@' \
         -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \
+
         -e 's@/usr/local/lib/www/docs@/usr/share/doc/perl5@' \
 
     Makefile
 
     Makefile
  
Line 56: Line 56:
 
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.
 
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@" \
+
  sed -i -e 's@/usr/local/bin@/usr/bin@' \
         -e "s@/usr/local/lib/perl5@/usr/lib/perl5/site_perl/5.8.8@" \
+
         -e 's@/usr/local/lib/perl5@$(shell perl -V:sitelibexp | cut -d'"\\\\'"' -f2)@' \
         -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \
+
         -e 's@/usr/local/lib/www/docs@/usr/share/doc/perl5@' \
 
     Makefile
 
     Makefile
  

Revision as of 08:27, 3 September 2006

Download Source: http://cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-1.03ii.tar.gz

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 &&
make install_html &&
rm -v -f /usr/share/doc/perl5/SGMLSpm/sample.pl &&
install -v -m644 DOC/sample.pl /usr/share/doc/perl5/SGMLSpm
Retrieved from "?title=SGMLS&oldid=1446"