source: BOOK/final-system/multilib/libcap-64bit.xml@ bb748ad

clfs-3.0.0-systemd systemd
Last change on this file since bb748ad was d93a24a, checked in by William Harrington <kb0iic@…>, 11 years ago

Use readlink for libcap and tidy library install amongst all installations.

  • Property mode set to 100644
File size: 1.5 KB
RevLine 
[a1a1cf0]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-system-libcap" role="wrap">
[5bac495]9 <?dbhtml filename="libcap-64bit.html"?>
[a1a1cf0]10
11 <title>Libcap-&libcap-version; 64 Bit</title>
12
13 <indexterm zone="ch-system-libcap">
14 <primary sortas="a-Libcap">Libcap</primary>
15 </indexterm>
16
[4317f44]17 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[a1a1cf0]18 href="../common/libcap.xml"
19 xpointer="xpointer(//*[@role='package'])"/>
20
21 <sect2 role="installation">
22 <title>Installation of Libcap</title>
23
[4317f44]24 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[a1a1cf0]25 href="../common/libcap.xml"
26 xpointer="xpointer(//*[@os='a'])"/>
27
28<screen os="b"><userinput>make CC="gcc ${BUILD64}"</userinput></screen>
29
[4317f44]30 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[a1a1cf0]31 href="../common/libcap.xml"
32 xpointer="xpointer(//*[@os='c'])"/>
33
[4317f44]34 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[a1a1cf0]35 href="../common/libcap.xml"
36 xpointer="xpointer(//*[@os='d'])"/>
37
38<screen os="e"><userinput>make lib=lib64 install
39chmod -v 755 /lib64/libcap.so.&libcap-version;
[d93a24a]40ln -sfv ../../lib64/$(readlink /lib64/libcap.so) /usr/lib64/libcap.so
41rm -v /lib64/libcap.so
[a1a1cf0]42mv -v /lib64/libcap.a /usr/lib64</userinput></screen>
43
44 </sect2>
45
[4317f44]46 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[a1a1cf0]47 href="../common/libcap.xml"
48 xpointer="xpointer(id('contents-libcap'))"/>
49
50</sect1>
Note: See TracBrowser for help on using the repository browser.