Difference between revisions of "SGMLS"

From CBLFS
Jump to navigationJump to search
 
Line 9: Line 9:
 
== Non-Multilib ==
 
== Non-Multilib ==
  
Compile the module:
+
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.
  
  perl Makefile.PL &&
+
  sed -i -e "s@/usr/local/bin@/usr/bin@" \
make &&
+
        -e "s@/usr/local/lib/perl5@/usr/lib/perl5/site_perl/5.8.8@" \
make test
+
        -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \
 +
    Makefile
  
Install the package
+
Install the module:
  
  make install
+
  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 ==
 
== Multilib ==
Line 23: Line 28:
 
=== 32Bit ===
 
=== 32Bit ===
  
Compile the module:
+
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.
  
  USE_ARCH=32 perl Makefile.PL &&
+
  sed -i -e "s@/usr/local/bin@/usr/bin@" \
make &&
+
        -e "s@/usr/local/lib/perl5@/usr/lib/perl5/site_perl/5.8.8@" \
make test
+
        -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \
 +
    Makefile
  
Install the package
+
Install the module:
  
  make install
+
  USE_ARCH=32 make install
  
 
=== N32 ===
 
=== N32 ===
  
Compile the module:
+
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.
  
  USE_ARCH=n32 perl Makefile.PL &&
+
  sed -i -e "s@/usr/local/bin@/usr/bin@" \
make &&
+
        -e "s@/usr/local/lib/perl5@/usr/lib/perl5/site_perl/5.8.8@" \
make test
+
        -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \
 +
    Makefile
  
Install the package
+
Install the module:
  
  make install
+
  USE_ARCH=n32 make install
  
 
=== 64Bit ===
 
=== 64Bit ===
  
Compile the module:
+
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.
  
  USE_ARCH=64 perl Makefile.PL &&
+
  sed -i -e "s@/usr/local/bin@/usr/bin@" \
make &&
+
        -e "s@/usr/local/lib/perl5@/usr/lib/perl5/site_perl/5.8.8@" \
make test
+
        -e "s@/usr/local/lib/www/docs@/usr/share/doc/perl5@" \
 +
    Makefile
  
Install the package
+
Install the module:
  
  make install
+
  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

Revision as of 08:16, 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@/usr/lib/perl5/site_perl/5.8.8@" \
       -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@/usr/lib/perl5/site_perl/5.8.8@" \
       -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@/usr/lib/perl5/site_perl/5.8.8@" \
       -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@/usr/lib/perl5/site_perl/5.8.8@" \
       -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=1445"