mirror of
https://github.com/pygos/build.git
synced 2024-11-22 11:09:46 +01:00
Add gcron package
Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
This commit is contained in:
parent
c5206e403b
commit
52427236e7
2 changed files with 29 additions and 0 deletions
27
pkg/gcron/build
Executable file
27
pkg/gcron/build
Executable 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
|
||||||
|
}
|
2
pkg/gcron/rootfs_files.txt
Normal file
2
pkg/gcron/rootfs_files.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
etc/crontab.d m 755 0 0
|
||||||
|
bin/gcrond m 555 0 0
|
Loading…
Reference in a new issue