xbps-src: introduce "noshlibprovides" to skip shlib-provides detection.

This commit is contained in:
Juan RP 2015-02-05 11:37:10 +01:00
parent 5c95087605
commit 5725a2e0ae
3 changed files with 9 additions and 3 deletions

View File

@ -412,6 +412,9 @@ by all supported architectures.
- `nostrip` If set, the ELF binaries with debugging symbols won't be stripped. By
default all binaries are stripped.
- `noshlibprovides` If set, the ELF binaries won't be inspected to collect the provided
sonames in shared libraries.
- `nocross` If set, cross compilation won't be allowed and will exit immediately.
- `python_versions` A white space seperated list of python versions which will

View File

@ -8,12 +8,15 @@ unset -v depends run_depends replaces provides conflicts tags
# hooks/post-install/03-strip-and-debug-pkgs
unset -v nostrip nostrip_files shlib_requires
# hooks/post-install/04-generate-runtime-deps
# hooks/re-pkg/04-generate-runtime-deps
unset -v noverifyrdeps allow_unknown_shlibs shlib_provides
# hooks/post-install/06-prepare-32bit
# hooks/pre-pkg/06-prepare-32bit
unset -v lib32depends lib32disabled lib32files lib32mode lib32symlinks
# hooks/pre-pkg/06-shlib-provides
unset -v noshlibprovides
# xbps-triggers: system-accounts
unset -v system_accounts system_groups

View File

@ -43,7 +43,7 @@ collect_sonames() {
hook() {
local _destdir32=${XBPS_DESTDIR}/${pkgname}-32bit-${version}
if [ -n "$noarch" ]; then
if [ -n "$noarch" -o -n "$noshlibprovides" ]; then
return 0
fi