summaryrefslogtreecommitdiff
path: root/lib/libalpm/util.c
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2010-02-10 17:07:30 +0100
committerFlorian Pritz <bluewind@server-speed.net>2011-05-27 13:29:22 +0200
commit79f1a3c4a17223af2bfe35802c50e1ae431d25b5 (patch)
tree8e49cab3969129997253312ad8fc000fef6f8762 /lib/libalpm/util.c
parent70cf4546d6d35ef9ef2751f37853cde679c88aa7 (diff)
downloadpacman-79f1a3c4a17223af2bfe35802c50e1ae431d25b5.tar.xz
makepkg: add libprovides support
The user adds libaries to the provides array without a version. These must end with .so. Example: provides=(readline libreadline.so) find_libprovides() looks for .so files (not symlinks because these could point outside of pkgdir) in $pkgdir, extracts the library soname (ld links the binary to this name) and outputs provides seperated by spaces. This list contains all libraries provided by the package. Example: libfoo.so=3-64 write_pkginfo() only keeps .so provides with version information and warns the user about unneded ones. Support-by: Thomas Bächler <thomas@archlinux.org> Support-by: Christoph Schied <Christoph.Schied@uni-ulm.de> Signed-off-by: Florian Pritz <bluewind@server-speed.net>
Diffstat (limited to 'lib/libalpm/util.c')
0 files changed, 0 insertions, 0 deletions