-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
62 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
env: | ||
- JOBS={{ ( index .Values.labels "jobs" ) | default "3" }} | ||
- LUET_PORTAGE_CACHE_PACKAGES="/var/cache/portage/packages" | ||
- LUET_PORTAGE_IGNORE_TAR_WARNING=1 | ||
- LUET_PORTAGE_PKGMETA=1 | ||
- LUET_PORTAGE_PKGFILES=1 | ||
- FEATURES="-sandbox -usersandbox -ipc-sandbox -pid-sandbox -network-sandbox" | ||
prelude: | ||
- | | ||
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 }} | ||
- eval 'rm -rf /pkgdir/ || true' && mkdir -p /pkgdir/{{ .Values.name }} && luet-portage | ||
--dir /pkgdir/{{ .Values.name }} {{ ( index .Values.labels "emerge.packages" ) }} | ||
- 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-base | ||
version: '>=0' | ||
category: seed |
29 changes: 29 additions & 0 deletions
29
packages/atoms/base-extra/dev-util/pkgconf/definition.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: pkgconf | ||
version: 1.5.4 | ||
category: dev-util | ||
use_flags: | ||
- -test | ||
- pkg-config | ||
annotations: | ||
subsets: | ||
rules: | ||
devel: | ||
- ^/usr/include/ | ||
portage: | ||
- ^/var/db/pkg/ | ||
description: pkg-config compatible replacement with no dependencies other than ANSI | ||
C89 | ||
uri: | ||
- https://github.com/pkgconf/pkgconf | ||
license: ISC | ||
labels: | ||
DEPEND: test? ( dev-libs/atf dev-util/kyua ) | ||
IUSE: +pkg-config test abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 | ||
abi_mips_o32 abi_s390_32 abi_s390_64 | ||
RDEPEND: pkg-config? ( !dev-util/pkgconfig !dev-util/pkg-config-lite !dev-util/pkgconfig-openbsd[pkg-config] | ||
) | ||
emerge.packages: dev-util/pkgconf | ||
kit: core-kit | ||
original.package.name: dev-util/pkgconf | ||
original.package.slot: "0" | ||
original.package.version: 1.5.4 |