Browse Source

Добавлены шаблоны sys-devel

* binutils
* gcc
* prelink
master
parent
commit
496b56194f
  1. 1
      merge/sys-devel/.calculate_directory
  2. 1
      merge/sys-devel/binutils/.calculate_directory
  3. 5
      merge/sys-devel/binutils/binutils_drop_old
  4. 1
      merge/sys-devel/gcc/.calculate_directory
  5. 9
      merge/sys-devel/gcc/gcc_default_set
  6. 1
      merge/sys-devel/prelink/.calculate_directory
  7. 3
      merge/sys-devel/prelink/cron.daily/prelink

1
merge/sys-devel/.calculate_directory

@ -0,0 +1 @@
{% calculate append = 'skip' %}

1
merge/sys-devel/binutils/.calculate_directory

@ -0,0 +1 @@
{% calculate append='skip', package='sys-devel/binutils' %}

5
merge/sys-devel/binutils/binutils_drop_old

@ -0,0 +1,5 @@
{% calculate run='/bin/bash', main.cl.ebuild_phase, action='!unmerge' %}
# remove for autoswitch binutils
rm /etc/env.d/binutils/config-*
exit 0

1
merge/sys-devel/gcc/.calculate_directory

@ -0,0 +1 @@
{% calculate append='skip', package='>=sys-devel/gcc-4' %}

9
merge/sys-devel/gcc/gcc_default_set

@ -0,0 +1,9 @@
{% calculate exec='/bin/bash', main.cl.ebuild_phase %}
# autoswitch to new gcc
echo "The current gcc config will be automatically switch to the newly"
echo "installed gcc version ${GCC_CONFIG_VER}"
gcc-config ${CTARGET}-${GCC_CONFIG_VER} &>/dev/null
/usr/sbin/env-update
true

1
merge/sys-devel/prelink/.calculate_directory

@ -0,0 +1 @@
{% calculate name='etc', package='sys-devel/prelink' %}

3
merge/sys-devel/prelink/cron.daily/prelink

@ -0,0 +1,3 @@
{% calculate format='regex', comment='#' %}
<reg>\n(\[ -n "\$\(find `ldd /sbin/init .*/sbin/telinit u)</reg>
<text>\n#\1</text>
Loading…
Cancel
Save