Magellan Linux

Diff of /smage/branches/alx07x-unstable/include/alx-split.sminc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

smage/trunk/include/alx-split.sminc revision 6979 by niro, Thu Jul 30 15:49:15 2015 UTC smage/branches/alx07x-unstable/include/alx-split.sminc revision 13454 by niro, Thu Jul 11 11:55:42 2019 UTC
# Line 6  sminclude alx cleanutils Line 6  sminclude alx cleanutils
6  # global split defines  # global split defines
7  : ${SPLIT_PACKAGES="${PNAME} ${PNAME}-dev"}  : ${SPLIT_PACKAGES="${PNAME} ${PNAME}-dev"}
8    
9    # honor empty SDEPEND
10    if [[ ! -z ${ALX_DEV_DEPEND} ]] && [[ -z ${SDEPEND} ]]
11    then
12     SDEPEND="${ALX_DEV_DEPEND}"
13    fi
14    
15  # some basics defines:  # some basics defines:
16    
17  # zap in normal packages  # zap in normal packages
# Line 77  alx-split_generate_split_info() Line 83  alx-split_generate_split_info()
83   DEPEND=\"\${DEPEND}   DEPEND=\"\${DEPEND}
84   \${ALX_DEPEND}\"   \${ALX_DEPEND}\"
85   fi   fi
86     if [[ ! -z \${ALX_PROVIDE} ]]
87     then
88     PROVIDE=\"\${PROVIDE}
89     \${ALX_PROVIDE}\"
90     fi
91   _PNAME=\"${PNAME}\"   _PNAME=\"${PNAME}\"
92   }"   }"
93  }  }
# Line 92  alx-split_generate_split_info_dev() Line 103  alx-split_generate_split_info_dev()
103   DEPEND=\"\${DEPEND}   DEPEND=\"\${DEPEND}
104   \${ALX_DEV_DEPEND}\"   \${ALX_DEV_DEPEND}\"
105   fi   fi
106     if [[ ! -z \${ALX_DEV_PROVIDE} ]]
107     then
108     PROVIDE=\"\${PROVIDE}
109     \${ALX_DEV_PROVIDE}\"
110     fi
111   _PNAME=\"${PNAME}\"   _PNAME=\"${PNAME}\"
112   }"   }"
113  }  }
# Line 102  then Line 118  then
118   if [[ ! -z $(typeset -f src_install) ]]   if [[ ! -z $(typeset -f src_install) ]]
119   then   then
120   # rename the old one   # rename the old one
121   old_alx_src_install=old$(typeset -f src_install)   old_alx_src_install=old_alx_$(typeset -f src_install)
122   eval "${old_alx_src_install}"   eval "${old_alx_src_install}"
123    
124   alx_generic_src_install()   alx_generic_src_install()

Legend:
Removed from v.6979  
changed lines
  Added in v.13454