Difference between revisions of "SGMLS"

From CBLFS
Jump to navigationJump to search
 
 
(11 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 ==
  
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@$(shell perl -V:sitelibexp | cut -d'"\\\\'"' -f2)@' \
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 &&
 +
rm -v DOC/HTML/SGMLSpm/sample.pl &&
 +
cp -v DOC/sample.pl DOC/HTML/SGMLSpm/sample.pl &&
 +
make install_html
  
 
== Multilib ==
 
== Multilib ==
Line 23: Line 30:
 
=== 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@$(shell perl -V:sitelibexp | cut -d'"\\\\'"' -f2)@' \
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@$(shell perl -V:sitelibexp | cut -d'"\\\\'"' -f2)@' \
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.
 +
 
 +
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
  
USE_ARCH=64 perl Makefile.PL &&
+
Install the module:
make &&
 
make test
 
  
Install the package
+
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
  
make install
+
[[Category:Perl Modules]]

Latest revision as of 13: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