aboutsummaryrefslogtreecommitdiffstats
path: root/community/dcron/APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-03-20 16:10:29 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2016-03-20 16:10:40 +0100
commite48d7b0222b299462331ff28488119dd15d2dc0a (patch)
tree07272f6d64385ff0eaf0e72c83d1ac5c80ff628f /community/dcron/APKBUILD
parentdefc1969c09990b29ce46261a86cd5c10db9d950 (diff)
downloadaports-e48d7b0222b299462331ff28488119dd15d2dc0a.tar.bz2
aports-e48d7b0222b299462331ff28488119dd15d2dc0a.tar.xz
community/dcron: moved from testing
Diffstat (limited to 'community/dcron/APKBUILD')
-rw-r--r--community/dcron/APKBUILD52
1 files changed, 52 insertions, 0 deletions
diff --git a/community/dcron/APKBUILD b/community/dcron/APKBUILD
new file mode 100644
index 0000000000..9ff0d964b3
--- /dev/null
+++ b/community/dcron/APKBUILD
@@ -0,0 +1,52 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
+# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
+pkgname=dcron
+pkgver=4.5
+pkgrel=3
+pkgdesc="dillon's lightweight cron daemon"
+url="http://www.jimpryor.net/linux/dcron.html"
+arch="all"
+license="GPL"
+depends=""
+depends_dev=""
+makedepends=""
+install=""
+subpackages="$pkgname-doc"
+source="http://www.jimpryor.net/linux/releases/${pkgname}-${pkgver}.tar.gz
+ $pkgname.initd
+ pidfile.patch
+ ldflags.patch"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$_builddir"
+ make PREFIX=/usr \
+ CRONTAB_GROUP=wheel \
+ CRONTABS=/etc/crontabs \
+ CRONSTAMPS=/var/spool/cron/cronstamps \
+ SCRONTABS=/etc/periodic || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ install -Dm755 "$srcdir"/$pkgname.initd \
+ "$pkgdir"/etc/init.d/$pkgname || return 1
+
+ mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
+ install -Dm644 README CHANGELOG \
+ "$pkgdir"/usr/share/doc/$pkgname/ || return 1
+}
+
+md5sums="078833f3281f96944fc30392b1888326 dcron-4.5.tar.gz
+36fb725b46f815dc6692a269ef22dc47 dcron.initd
+c6761a07945edbeecc5726bb0ba92d40 pidfile.patch
+646b16f31abbea4c215512f58f421abc ldflags.patch"
+sha256sums="9e50edb6f5bd8153b16bad05087d985e5153ce45cc01ae77e7f842213fb4a824 dcron-4.5.tar.gz
+dd36b83cd4fa2694119fe046a2432b702ce42c8dc0e87a252cae25a904560acf dcron.initd
+f6c5adf109350eee543549ea63e03d1ac4ca8131d8c8ac1ac7074b222883cfa0 pidfile.patch
+69b907a89d22bcff5ded7ebd749c4e8df87106e290c75110630031e75631ee3a ldflags.patch"
+sha512sums="08521391d16ba5adf80278ec2a734319c26c48841fd94b119c0b27d744c2cfb3562b1a3630135a03d1c43b1668d49262713abb20ff5f7ecd397a2a19a2f6105a dcron-4.5.tar.gz
+0513fc6795988c68f2d552c7754383c6db1f51507686c25cf5205a8491679626118a4bab22c8d5e58017f58cc01ab21af8931fdef806a80f3d27cba2f53831cd dcron.initd
+04fdd3059d6b1df8132944e2eefa932e640db8b4a5ac85dd1ca833adf1d0013ad33f40021624e12a4203b08003d6c79f0a5da4e29b057004fb849f388c7178f2 pidfile.patch
+8a07ccfae80468a555e8f5ea60f88dd444a3aacb6baa6f747a6a02bcdce78baaa8aaf799ae9d2684a518bfff537dc0cdcf0b53bb6fc0017fa52228f1f0a16e49 ldflags.patch"