Libcap
From CBLFS
Jump to navigationJump to searchContents
Introduction to Libcap
libcap is a library for getting and setting POSIX.1e
Project Homepage: http://www.kernel.org/
Dependencies
Required
Optional
Non-Multilib
Compile the package:
make
Install the package
make install && chmod -v 755 /lib/libcap.so.2.22 && mv -v /lib/libcap.a /usr/lib && rm /lib/libcap.so && ln -sfv ../../lib/libcap.so.2 /usr/lib/libcap.so
Multilib
32Bit
Compile the package:
sed -i "/^lib=/s:=.*:=lib:" Make.Rules && make CC="gcc ${BUILD32}" LD="gcc -shared ${BUILD32}"
Install the package
make install && chmod -v 755 /lib/libcap.so.2.22 && mv -v /lib/libcap.a /usr/lib && rm /lib/libcap.so && ln -sfv ../../lib/libcap.so.2 /usr/lib/libcap.so
N32
Compile the package:
sed -i "/^lib=/s:=.*:=lib32:" Make.Rules && make CC="gcc ${BUILDN32}" LD="gcc -shared ${BUILDN32}"
Install the package
make install && chmod -v 755 /lib32/libcap.so.2.22 && mv -v /lib32/libcap.a /usr/lib32 && rm /lib32/libcap.so && ln -sfv ../../lib32/libcap.so.2 /usr/lib32/libcap.so
64Bit
Compile the package:
sed -i "/^lib=/s:=.*:=lib64:" Make.Rules && make CC="gcc ${BUILD64}" LD="gcc -shared ${BUILD64}"
Install the package
make install && chmod -v 755 /lib64/libcap.so.2.22 && mv -v /lib64/libcap.a /usr/lib64 && rm /lib64/libcap.so && ln -sfv ../../lib64/libcap.so.2 /usr/lib64/libcap.so
Download Source: | ftp://ftp.de.debian.org/debian/pool/main/libc/libcap2/libcap2_2.22.orig.tar.gz |
---|