From 7b72f0dec7870be883dbd3ce959fc5cefdbdd17c Mon Sep 17 00:00:00 2001 From: Dan Lorenc Date: Thu, 8 Sep 2022 22:02:52 -0400 Subject: [PATCH] Add a make package! Signed-off-by: Dan Lorenc --- .github/workflows/push.yaml | 4 ++++ Makefile | 1 + make.yaml | 42 +++++++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 make.yaml diff --git a/.github/workflows/push.yaml b/.github/workflows/push.yaml index 635ab126f33..04aadf0dd87 100644 --- a/.github/workflows/push.yaml +++ b/.github/workflows/push.yaml @@ -92,6 +92,10 @@ jobs: - uses: chainguard-dev/actions/inky-build-pkg@main with: package-name: gzip + + - uses: chainguard-dev/actions/inky-build-pkg@main + with: + package-name: make - name: 'Upload the repository to a bucket' run: | diff --git a/Makefile b/Makefile index 49b2092806f..e4c592906a0 100644 --- a/Makefile +++ b/Makefile @@ -54,5 +54,6 @@ $(eval $(call build-empty-package,pax-utils,1.3.4-r0)) $(eval $(call build-empty-package,texinfo,6.8-r0)) $(eval $(call build-empty-package,gzip,1.12-r1)) $(eval $(call build-package,busybox,1.35.0-r2)) +$(eval $(call build-package,make,4.3-r1)) .build-packages: ${PACKAGES} diff --git a/make.yaml b/make.yaml new file mode 100644 index 00000000000..9957da1b581 --- /dev/null +++ b/make.yaml @@ -0,0 +1,42 @@ +package: + name: make + version: 4.3 + epoch: 1 + description: "GNU make" + target-architecture: + - all + copyright: + - paths: + - "*" + attestation: TODO + license: GPL-3.0-or-later + dependencies: + runtime: + +environment: + contents: + repositories: + - https://packages.wolfi.dev/bootstrap/stage3 + keyring: + - https://packages.wolfi.dev/bootstrap/stage3/wolfi-signing.rsa.pub + packages: + - busybox + - ca-certificates-bundle + - build-base + +pipeline: + - uses: fetch + with: + uri: https://ftp.gnu.org/gnu/make/make-${{package.version}}.tar.gz + expected-sha256: e05fdde47c5f7ca45cb697e973894ff4f5d79e13b750ed57d7b66d8defc78e19 + - name: Configure + runs: | + ./configure \ + --host=$(uname -m)-pc-linux-gnu \ + --target=$(uname -m)-pc-linux-gnu \ + --prefix=/usr \ + --datadir=/usr/share \ + --without-guile + - uses: autoconf/make + - uses: autoconf/make-install + - uses: strip