diff --git a/packages/atoms/tools/app-text/tree/build.yaml b/packages/atoms/tools/app-text/tree/build.yaml new file mode 100644 index 0000000000..ef1d5c0bdc --- /dev/null +++ b/packages/atoms/tools/app-text/tree/build.yaml @@ -0,0 +1,29 @@ +prelude: +- |- + export FEATURES="-sandbox -usersandbox -ipc-sandbox -pid-sandbox -network-sandbox" && \ + export JOBS={{ ( index .Values.labels "jobs" ) | default "3" }} && \ + eval 'mkdir -p /var/cache/portage/distfiles || true' && \ + chown portage:portage -R /var/cache/portage/ && \ + {{- if .Values.use_flags }} + USE="{{ join " " .Values.use_flags }}" emerge {{ ( index .Values.labels "emerge.packages" ) }} -pv -t && \ + {{- else }} + emerge -j ${JOBS} {{ ( index .Values.labels "emerge.packages" ) }} -pv -t && \ + {{- end }} + {{- if .Values.use_flags }} + USE="{{ join " " .Values.use_flags }}" emerge -j ${JOBS} --nodeps {{ ( index .Values.labels "emerge.packages" ) }} + {{- else }} + emerge -j ${JOBS} --nodeps {{ ( index .Values.labels "emerge.packages" ) }} + {{- end }} +- export LUET_PORTAGE_CACHE_PACKAGES="/var/cache/portage/packages" && export LUET_PORTAGE_IGNORE_TAR_WARNING=1 + && export LUET_PORTAGE_PKGMETA=1 && export LUET_PORTAGE_PKGFILES=1 && eval 'rm -rf + /pkgdir/ || true' && mkdir -p /pkgdir/{{ .Values.name }} && luet-portage --dir /pkgdir/{{ + .Values.name }} {{ ( index .Values.labels "emerge.packages" ) }} && eval 'rm -v + /var/cache/distfiles/* ${LUET_PORTAGE_CACHE_PACKAGES}/* || true' +package_dir: /pkgdir/{{ .Values.name }} +excludes: +- ^/var/cache/portage/ +- ^/var/git/ +requires: +- name: macaroni-funtoo-race15 + version: '>=0' + category: seed diff --git a/packages/atoms/tools/app-text/tree/definition.yaml b/packages/atoms/tools/app-text/tree/definition.yaml new file mode 100644 index 0000000000..7458439ae5 --- /dev/null +++ b/packages/atoms/tools/app-text/tree/definition.yaml @@ -0,0 +1,21 @@ +name: tree +version: 1.7.0 +category: app-text +annotations: + subsets: + rules: + devel: + - ^/usr/include/ + portage: + - ^/var/db/pkg/ +description: Lists directories recursively, and produces an indented listing of files +uri: +- http://mama.indstate.edu/users/ice/tree/ +license: GPL-2 +labels: + RDEPEND: '!=sci-biology/meme-4.8.1' + emerge.packages: app-text/tree + kit: text-kit + original.package.name: app-text/tree + original.package.slot: "0" + original.package.version: 1.7.0-r1