Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/libcap.xml

    redd83dc r4622193e  
    8181
    8282  </sect2>
    83 
    84   <!-- - - - - - - - - - -->
    85   <!-- Multilib - 32bit  -->
    86   <!-- - - - - - - - - - -->
    87  
    88   <sect2 arch="ml_32,ml_all" role="installation">
    89     <title>Installation of Libcap - 32bit</title>
    90 
    91     <para>Clean previous build:</para>
    92 
    93 <screen><userinput remap="pre">make distclean</userinput></screen>
    94 
    95     <para>Compile the package:</para>
    96 
    97 <screen><userinput remap="make">make CC="gcc -m32 -march=i686"</userinput></screen>
    98 
    99     <para>Install the package:</para>
    100 
    101 <screen><userinput remap="install">make lib=lib32 prefix=$PWD/DESTDIR/usr -C libcap install
    102 cp -Rv DESTDIR&usr-lib-m32;/* &usr-lib-m32;
    103 sed -e "s|^libdir=.*|libdir=&usr-lib-m32;|" -i &usr-lib-m32;/pkgconfig/lib{cap,psx}.pc
    104 chmod -v 755 &usr-lib-m32;/libcap.so.&libcap-version;
    105 rm -rf DESTDIR</userinput></screen>
    106 
    107   </sect2><!-- m32 -->
    108 
    109   <!-- - - - - - - - - - -->
    110   <!-- Multilib - x32bit -->
    111   <!-- - - - - - - - - - -->
    112  
    113   <sect2 arch="ml_x32,ml_all" role="installation">
    114     <title>Installation of Libcap - x32bit</title>
    115 
    116     <para>Clean previous build:</para>
    117 
    118 <screen><userinput remap="pre">make distclean</userinput></screen>
    119 
    120     <para>Compile the package:</para>
    121 
    122 <screen><userinput remap="make">make CC="gcc -mx32 -march=x86-64"</userinput></screen>
    123 
    124     <para>Install the package:</para>
    125 
    126 <screen><userinput remap="install">make lib=libx32 prefix=$PWD/DESTDIR/usr -C libcap install
    127 cp -Rv DESTDIR&usr-lib-mx32;/* &usr-lib-mx32;
    128 sed -e "s|^libdir=.*|libdir=&usr-lib-mx32;|" -i &usr-lib-mx32;/pkgconfig/lib{cap,psx}.pc
    129 chmod -v 755 &usr-lib-mx32;/libcap.so.&libcap-version;
    130 rm -rf DESTDIR</userinput></screen>
    131 
    132   </sect2><!-- mx32 -->
    13383
    13484  <sect2 id="contents-libcap" role="content">
Note: See TracChangeset for help on using the changeset viewer.