Difference between revisions of "SGMLS"

From CBLFS
Jump to navigationJump to search
 
(10 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-1.03ii.tar.gz
+
| http://cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-{{Perl Module SGMLS-Version}}.tar.gz
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Blank-Package-Introduction}}
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 11: Line 13:
 
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 20: Line 22:
 
  make install &&
 
  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
  
 
== Multilib ==
 
== Multilib ==
Line 30: Line 32:
 
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 45:
 
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 58:
 
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 65: 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
 +
 
 +
[[Category:Perl Modules]]

Latest revision as of 12:59, 19 October 2010

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"