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