diff options
author | 2015-01-17 16:08:18 -0800 | |
---|---|---|
committer | 2015-01-17 16:08:18 -0800 | |
commit | 0f2381dccce0589c82d672090c665598bb48b4e2 (patch) | |
tree | 100fbccddf26b729460edf4dd05f12f92791de1f /app-misc | |
parent | Add scala-bin (and eselect-scala) (diff) | |
download | palmer-0f2381dccce0589c82d672090c665598bb48b4e2.tar.gz palmer-0f2381dccce0589c82d672090c665598bb48b4e2.tar.bz2 palmer-0f2381dccce0589c82d672090c665598bb48b4e2.zip |
Add app-misc/cronic at 1.0
This is a script I copied from the internet that's supposed to be
helpful for running cron jobs.
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/cronic/Manifest | 2 | ||||
-rw-r--r-- | app-misc/cronic/cronic-1.0.ebuild | 31 |
2 files changed, 33 insertions, 0 deletions
diff --git a/app-misc/cronic/Manifest b/app-misc/cronic/Manifest new file mode 100644 index 0000000..caab694 --- /dev/null +++ b/app-misc/cronic/Manifest @@ -0,0 +1,2 @@ +DIST cronic-1.0.tar.gz 925 SHA256 724c5b01f88f09e33676bdc437b3e3d5293cf7ab892cb6f5d96108c6582fd21b SHA512 0462292f5c2ba418571db2a9cb7f70c4f51f3de30978736c53e40213a53a502c97720da3cafa5130dc0c4edf7ee2d31403b82ef382f29133a1f9897ca791dd05 WHIRLPOOL 54dfb4a14a0729772c38b9deaa751f1a3172ed58a927faa2b68849e0c88e329937e92679bc1d97073756ece9ae52d8f36a58966641c3909f23f80900fd0b0548 +EBUILD cronic-1.0.ebuild 788 SHA256 e3ac3fbabb1569dc5687a1f8543372fa6f348facbd247ed2a828f9ae65739b02 SHA512 f2dfb07ce336a30ee7205336b2c94a2dca37b1c094dd8351540d88e6bd7c784764681c7595c70565d4b865fcb9515fe3cb48be9614bc482d7aadeb3d8d904252 WHIRLPOOL 7b932a9391150060f647e77f2d1c5b4f61fa38a603641710ef342ff7244b75567f9470718814bb88e9fd2e38bc7a6f545020a9dd534397c67e6fa5dfab3aae9a diff --git a/app-misc/cronic/cronic-1.0.ebuild b/app-misc/cronic/cronic-1.0.ebuild new file mode 100644 index 0000000..f51a313 --- /dev/null +++ b/app-misc/cronic/cronic-1.0.ebuild @@ -0,0 +1,31 @@ +EAPI="4" + +DESCRIPTION="A cure for Cron's chronic email problem" +HOMEPAGE="http://habilis.net/cronic/" +SRC_URI="https://github.com/palmer-dabbelt/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 amd64-linux" +IUSE="" + +RDEPEND="sys-devel/pconfigure + sys-devel/make" + +DEPEND="${RDEPEND}" + +src_configure() { + rm Configfile.local >& /dev/null || true + touch Configfile.local + + echo "PREFIX = ${EPREFIX}/usr" >> Configfile.local + + echo "LANGUAGES += c" >> Configfile.local + for i in $(echo ${CFLAGS}); do + echo "COMPILEOPTS += ${i}" >> Configfile.local + done + echo "COMPILEOPTS += -DNDEBUG" >> Configfile.local + echo "COMPILEOPTS += -DPROCESSORS=\\\"$(grep -c "physical id" /proc/cpuinfo)\\\"" >> Configfile.local + + pconfigure || die "pconfigure failed" +} |