--- smage/trunk/include/alx-split.sminc 2015/07/30 15:49:15 6979 +++ smage/branches/alx07x-unstable/include/alx-split.sminc 2019/07/11 11:55:42 13454 @@ -6,6 +6,12 @@ # global split defines : ${SPLIT_PACKAGES="${PNAME} ${PNAME}-dev"} +# honor empty SDEPEND +if [[ ! -z ${ALX_DEV_DEPEND} ]] && [[ -z ${SDEPEND} ]] +then + SDEPEND="${ALX_DEV_DEPEND}" +fi + # some basics defines: # zap in normal packages @@ -77,6 +83,11 @@ DEPEND=\"\${DEPEND} \${ALX_DEPEND}\" fi + if [[ ! -z \${ALX_PROVIDE} ]] + then + PROVIDE=\"\${PROVIDE} + \${ALX_PROVIDE}\" + fi _PNAME=\"${PNAME}\" }" } @@ -92,6 +103,11 @@ DEPEND=\"\${DEPEND} \${ALX_DEV_DEPEND}\" fi + if [[ ! -z \${ALX_DEV_PROVIDE} ]] + then + PROVIDE=\"\${PROVIDE} + \${ALX_DEV_PROVIDE}\" + fi _PNAME=\"${PNAME}\" }" } @@ -102,7 +118,7 @@ if [[ ! -z $(typeset -f src_install) ]] then # rename the old one - old_alx_src_install=old$(typeset -f src_install) + old_alx_src_install=old_alx_$(typeset -f src_install) eval "${old_alx_src_install}" alx_generic_src_install()