diff options
-rw-r--r-- | org.gnu.coreutils/coreutil-run | 6 | ||||
-rw-r--r-- | org.gnu.coreutils/org.gnu.coreutils.yml | 25 |
2 files changed, 31 insertions, 0 deletions
diff --git a/org.gnu.coreutils/coreutil-run b/org.gnu.coreutils/coreutil-run new file mode 100644 index 0000000..b9028c8 --- /dev/null +++ b/org.gnu.coreutils/coreutil-run @@ -0,0 +1,6 @@ +#!/usr/bin/bash +if [[ "$@" == "" ]]; then + echo "No command given, exiting ..." + exit 1 +fi +$@
\ No newline at end of file diff --git a/org.gnu.coreutils/org.gnu.coreutils.yml b/org.gnu.coreutils/org.gnu.coreutils.yml new file mode 100644 index 0000000..9ba9c84 --- /dev/null +++ b/org.gnu.coreutils/org.gnu.coreutils.yml @@ -0,0 +1,25 @@ +app-id: org.gnu.coreutils +runtime: org.freedesktop.Platform +runtime-version: '21.08' +sdk: org.freedesktop.Sdk +finish-args: + - --filesystem=host +command: coreutil-run + + +modules: + - name: coreutils + buildsystem: simple + sources: + - type: archive + path: ./coreutils-9.1.tar.xz + dest: ./coreutils + - type: file + path: ./coreutil-run + build-commands: + - ls coreutils + - cd coreutils && ./configure --prefix=/app --libexecdir=/app/lib + - cd coreutils && make + - ls coreutils + - cd coreutils && make install + - install -Dm755 ./coreutil-run /app/bin/coreutil-run |