1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-06-24 12:10:13 +02:00

Add gcron package

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
David Oberhollenzer 2018-11-25 01:34:32 +01:00
parent c5206e403b
commit 52427236e7
2 changed files with 29 additions and 0 deletions

27
pkg/gcron/build Executable file
View file

@ -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
}

View file

@ -0,0 +1,2 @@
etc/crontab.d m 755 0 0
bin/gcrond m 555 0 0