summaryrefslogtreecommitdiff
path: root/app-misc/egads
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-11-10 00:43:02 +0000
committerV3n3RiX <venerix@redcorelinux.org>2017-11-10 00:43:02 +0000
commita5332b59346f7cbf0fdbd148b54aa8a84aaf8190 (patch)
treee6d8d3589fcd01fbc3f1286185639163daa81424 /app-misc/egads
parentfceeaf01a28ee71065cf3798b70b77d3bc4ef199 (diff)
gentoo resync : 10.11.2017
Diffstat (limited to 'app-misc/egads')
-rw-r--r--app-misc/egads/Manifest1
-rw-r--r--app-misc/egads/egads-0.9.5-r1.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/app-misc/egads/Manifest b/app-misc/egads/Manifest
index 5b4dc4cdb897..fbe0d5dcb5e0 100644
--- a/app-misc/egads/Manifest
+++ b/app-misc/egads/Manifest
@@ -1,4 +1,5 @@
DIST egads-0.9.5.tar.gz 302708 SHA256 606d68e284540d357115d7c2d2952d22a2b293fe77f00599396aeeb5b47e36a1 SHA512 b3138d31165f25c4b4b83b72eeee5fd0ea80e2d89a1a67f1d6d40c82afd849ef76ebdb5e71165eb80c00c971dd0bb4e9660fcb70ffedb7e14a003be90ce91e7b WHIRLPOOL 90f2795416878f3af3205d251e2a9628c6fa5a0ba37ef467b5b51f10de2a4ea75a459e999bf2972c1c5c7a13f8340468e044641194ae67170cbe1ccbd3b59adb
+EBUILD egads-0.9.5-r1.ebuild 1013 SHA256 bf6323b0a96409922486f6402966465b07009f731d76c301cdab72f0a058f492 SHA512 5f2c413108bb0442bbba029299bc29fb26a1b648daa1070f810526e61769c9f9bd8d371b8baf43cd84d0516128f175ef03638892597fb279ec1a5c44c1091eb3 WHIRLPOOL 394cc711cbd29f9b969b0dae395ac5a9edfcffde5b352f796e8d41640dc0e754241deae9df692fc8b4f25e604c5ef70924154bbc45eebdec4d10b00f708fc8d0
EBUILD egads-0.9.5.ebuild 1048 SHA256 140b7bb2eb542b68fc4dcfc6842baa59154fdb26252db7da61a32cd69e1601c6 SHA512 6bf5a143d07da7e7f574e8cfb1d5634d3a2bcbf97cbc9ea8e9fda0f3f228864fdec9deef405cbf49f7d4f7a9b6ab502806bac38be5360cb477a9d4cf170fbfb2 WHIRLPOOL cada4c0183d2f9de793969fcc4c56889b90df12f985c43108dec6f4d454182e9c7ac2913139d2f1845ea9044f03c2334933c7e03c6e17f4e44e69949c26963b9
MISC ChangeLog 2170 SHA256 c9d1fd469fe7165ae79596e1380e575293c5f5c9e5d5d4cf158eafafe5967d3e SHA512 79b830fead2062bc57f80fa8aa9d4c3e99c18ce9ceb0ed3a478a295b0b2933541a9d463b672067e629a151bb3020caf9245970269b6dcd3a6dc7a468baf38278 WHIRLPOOL 0260133cfb5d851f370f11261272818065383a22aeac3b0367060628c309cf7c76b9cabf8ffe45572fe24ba0715512a7dd7123c6a669834936c06c5efa2a99a3
MISC ChangeLog-2015 1425 SHA256 611a07a3c53609563dc2b2d34520abf4d069cded7d8a466153352b25defce56c SHA512 d6ce9d39ff5919d0b2ceff8d9d0ddbf3223bbae6efe431b10b9b2aa18c53b8a0783a5c9a8469da9b576542a7e6bbb75ce4a24df728895a678dbc74761149c9d6 WHIRLPOOL 1cc881c488a69a24f3b60cfb55cbd5a2a2fcfaf164e0f96a31286049e2120f5d1a43e70ae671ff5dc9143178b4675ca3dd0d3c075c3e339a303b367f997312a4
diff --git a/app-misc/egads/egads-0.9.5-r1.ebuild b/app-misc/egads/egads-0.9.5-r1.ebuild
new file mode 100644
index 000000000000..47f7d23b3a5e
--- /dev/null
+++ b/app-misc/egads/egads-0.9.5-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit multilib toolchain-funcs
+
+DESCRIPTION="Entropy Gathering And Distribution System"
+HOMEPAGE="http://www.securesoftware.com/download_egads.htm"
+SRC_URI="http://www.securesoftware.com/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+EGADS_DATADIR=/var/run/egads
+
+src_prepare() {
+ default
+ sed -i \
+ -e '/^BINDIR/d' \
+ -e '/^LIBDIR/d' \
+ -e '/^INCLUDEDIR/d' \
+ "${S}"/Makefile.in || die "Failed to fix Makefile.in"
+ tc-export CC AR RANLIB
+}
+
+src_configure() {
+ econf \
+ --with-egads-datadir="${EGADS_DATADIR}" \
+ --with-bindir=/usr/sbin
+}
+
+src_compile() {
+ emake LIBDIR="/usr/$(get_libdir)"
+}
+
+src_install() {
+ keepdir ${EGADS_DATADIR}
+ fperms +t ${EGADS_DATADIR}
+ # NOT parallel safe, and no DESTDIR support
+ emake -j1 install \
+ BINDIR="${D}"/usr/sbin \
+ LIBDIR="${D}"/usr/$(get_libdir) \
+ INCLUDEDIR="${D}"/usr/include
+
+ dodoc README* doc/*.txt doc/*.html
+}