From 52427236e7491785301ec377362263fef693d5b1 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 25 Nov 2018 01:34:32 +0100 Subject: [PATCH] Add gcron package Signed-off-by: David Oberhollenzer --- pkg/gcron/build | 27 +++++++++++++++++++++++++++ pkg/gcron/rootfs_files.txt | 2 ++ 2 files changed, 29 insertions(+) create mode 100755 pkg/gcron/build create mode 100644 pkg/gcron/rootfs_files.txt diff --git a/pkg/gcron/build b/pkg/gcron/build new file mode 100755 index 0000000..8580803 --- /dev/null +++ b/pkg/gcron/build @@ -0,0 +1,27 @@ +VERSION="0.1" +SRCDIR="gcron-${VERSION}" +TARBALL="${SRCDIR}.tar.xz" +URL="http://infraroot.at/pygos" +SHA256SUM="c3a184b2bbc64b187797c335256d277cd8c0a871e09eef5d90161c4ad8267714" +DEPENDS="toolchain" + +prepare() { + return +} + +build() { + run_configure "$1" + make -j $NUMJOBS +} + +deploy() { + local SOURCE="$1" + local DEPLOY="$2" + + make DESTDIR="$DEPLOY" install + cp "$SCRIPTDIR/pkg/$PKGNAME/rootfs_files.txt" "$DEPLOY" +} + +check_update() { + return +} diff --git a/pkg/gcron/rootfs_files.txt b/pkg/gcron/rootfs_files.txt new file mode 100644 index 0000000..d24f55a --- /dev/null +++ b/pkg/gcron/rootfs_files.txt @@ -0,0 +1,2 @@ +etc/crontab.d m 755 0 0 +bin/gcrond m 555 0 0