summaryrefslogtreecommitdiff
path: root/app-misc/astrolog
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-misc/astrolog
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/astrolog')
-rw-r--r--app-misc/astrolog/Manifest7
-rw-r--r--app-misc/astrolog/astrolog-5.40-r1.ebuild68
-rw-r--r--app-misc/astrolog/astrolog-5.40-r2.ebuild68
-rw-r--r--app-misc/astrolog/astrolog-5.40-r3.ebuild70
-rw-r--r--app-misc/astrolog/metadata.xml5
5 files changed, 218 insertions, 0 deletions
diff --git a/app-misc/astrolog/Manifest b/app-misc/astrolog/Manifest
new file mode 100644
index 000000000000..79c6f484a372
--- /dev/null
+++ b/app-misc/astrolog/Manifest
@@ -0,0 +1,7 @@
+DIST ast54unx.shr 1465432 SHA256 6700d393a421c16076d1aad37f171fde6293f1c062ec6a6ee07a884182287736 SHA512 824fcea1891dafc77692e84a36cc97a8afd90ad93d772edab8437e89869cdc912002f628fd86eecc8182ba4f1ad02cb98f42a30fde425bf94cf59f852b4eda1a WHIRLPOOL 6538f1e1d41a1a23dc476ffbe3f153d43e22829614ecbb71fa5c4f2b31b9ee799291ef7ac55283875f8e07324f9e416bb9f8092a97e354017796f7ff4fd42edd
+EBUILD astrolog-5.40-r1.ebuild 2095 SHA256 4884bfec34c8fc54021086d58087710111905b863a887d1f5bbbe3d5d8c3ce0c SHA512 3d7766d07a6c0df8c3e71e65524805eff84a4ae177612274e8731ec5b5fdb9f3df1717c93346dbf64971422bdb02127fbe1faf9b451abc8de1260d7b8814f8a8 WHIRLPOOL f3aac92349826a55c7917fa47f618d3d6d4a36b0e6287899ae0816e39e208f1880ac1a0f3db130e27b47687f4c214059c7b3dadbaf48b72e6c75c8a66778f916
+EBUILD astrolog-5.40-r2.ebuild 2093 SHA256 fba60999e4c79a619391970b69b6066702b06034920e7d0945c36230d942869a SHA512 d92361442fd0733d94add2d2a132589fe02d71b60e1263da0ee539fede76558545d3ffed8dfe5120307032031e1e9a46e4658cab9c2d2b46ebe633d1bbac84ed WHIRLPOOL 0e9dec774e1293536bed39befff496f0336c845e7a95de512cbd090407ea7814b19bc6b1878df70306bd541c173a400cda6a35fbcb96fc4c5e2f4fbd707a289e
+EBUILD astrolog-5.40-r3.ebuild 2128 SHA256 fd68f14c531c0e2749bda69e889450a66cebb4c8cda80d6106b1e798aee6578c SHA512 278e7ac93f8fd3e71c8291bf63cf19ff0dac00f78288b9dbcaf6f80107e2cc88d1f00c01521f08be3af8cb26f2d2d2147b578a6ceee0b2f11a13cb42aa6ffed8 WHIRLPOOL 45493d573f71d30f734e76040c6d52872a0b316d5a4b8003bf5595c03fc307e5262b619e6abddf765bb9ffcdfa37a6132460412bda1359424979193a264603b8
+MISC ChangeLog 2570 SHA256 1d39f73e00fd058ab8cbbab55983eef0bcb912e4b28f20aff723c725044f4f7f SHA512 ff9f90532aeb88fc3dfe0cf698f424da8073ab697827215b4aa831d1e96d46ad6315e65b35daf30897dd8503e4ebf766ee1c37e2ba33928124e26f80a3cb6f9b WHIRLPOOL f127dbc7af9404ca54aa4d60721a6e8ab0c187e0fc17185440880fce7bf32f155064e88237ecc8684313b869451b95605fd444b6689b3b99489e8e6b0c2e8279
+MISC ChangeLog-2015 2656 SHA256 da94fd21fc1342f62a873681653833d6ecdc4456e0ba686dc6a27980be995881 SHA512 f183e109d11e54aecd43c8a90e88614b596aea8049af596f2efcdd0d292b1255851c371b1e2b563a3ded5e25468c38d8d27c63d7decacca9819857943f865107 WHIRLPOOL d6bc339e794cf75613431a163dd80d83bebff4811ac79251aac50fe9fdbeefe7f805eb6158d76152168a50766d8dd3b1696f33f3463e5d082dfddf9d2a12cd39
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/app-misc/astrolog/astrolog-5.40-r1.ebuild b/app-misc/astrolog/astrolog-5.40-r1.ebuild
new file mode 100644
index 000000000000..6fe1978c6375
--- /dev/null
+++ b/app-misc/astrolog/astrolog-5.40-r1.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit toolchain-funcs
+
+DESCRIPTION="A many featured astrology chart calculation program"
+HOMEPAGE="http://www.astrolog.org/astrolog.htm"
+SRC_URI="http://www.astrolog.org/ftp/ast54unx.shr"
+
+LICENSE="astrolog"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~ppc64 x86"
+IUSE="X"
+
+DEPEND="X? ( x11-libs/libX11 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ sh "${DISTDIR}"/ast54unx.shr || die
+}
+
+src_prepare() {
+ # remove stripping of created binary, dump hardcoded CFLAGS,
+ # respect CC (bug #243606), and CFLAGS (bug #240057)
+ sed \
+ -e 's:strip:#strip:' -e 's:^CFLAGS = :#CFLAGS = :' \
+ -e 's:\tcc :\t$(CC) $(CFLAGS) $(LDFLAGS) :' \
+ -i Makefile || die
+
+ # we use /usr/share/astrolog for config and (optional) ephemeris-data-files
+ sed -i -e "s:~/astrolog:/usr/share/astrolog:g" astrolog.h || die
+
+ # if we use X, we need to add -L/usr/X11R6/lib to compile succesful
+ #use X && sed -i -e "s:-lm -lX11:-lm -lX11 -L/usr/X11R6/lib:g" Makefile
+
+ # if we do NOT use X, we disable it by removing the -lX11 from the Makefile
+ # and remove the "#define X11" and "#define MOUSE" from astrolog.h
+ use X || ( sed -i -e "s:-lm -lX11:-lm:g" Makefile
+ sed -i -e "s:#define X11:/*#define X11:g" astrolog.h
+ sed -i -e "s:#define MOUSE:/*#define MOUSE:g" astrolog.h )
+
+ # any user may have an own astrolog configfile
+ #sed -i -e "s:astrolog.dat:astrolog.dat:g" astrolog.h
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin astrolog
+ dodoc Helpfile.540 README.1ST README.540 Update.540
+ insinto /usr/share/astrolog
+ doins astrolog.dat
+}
+
+pkg_postinst() {
+ ewarn "There is a sample config file /usr/share/astrolog/astrolog.dat"
+ ewarn "astrolog looks in current dir for a file astrolog.dat before"
+ ewarn "using the file in /usr/share/astrolog"
+ ewarn "If you want extended accuracy of astrolog's calculations you"
+ ewarn "can emerge the optional package \"astrolog-ephemeris\" which"
+ ewarn "needs ~4.7 MB additional diskspace for the ephemeris-files"
+}
diff --git a/app-misc/astrolog/astrolog-5.40-r2.ebuild b/app-misc/astrolog/astrolog-5.40-r2.ebuild
new file mode 100644
index 000000000000..99247e390a4c
--- /dev/null
+++ b/app-misc/astrolog/astrolog-5.40-r2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=4
+
+inherit toolchain-funcs
+
+DESCRIPTION="A many featured astrology chart calculation program"
+HOMEPAGE="http://www.astrolog.org/astrolog.htm"
+SRC_URI="http://www.astrolog.org/ftp/ast54unx.shr"
+
+LICENSE="astrolog"
+SLOT="0"
+KEYWORDS="amd64 ppc ppc64 x86"
+IUSE="X"
+
+DEPEND="X? ( x11-libs/libX11 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ sh "${DISTDIR}"/ast54unx.shr || die
+}
+
+src_prepare() {
+ # remove stripping of created binary, dump hardcoded CFLAGS,
+ # respect CC (bug #243606), and CFLAGS (bug #240057)
+ sed \
+ -e 's:strip:#strip:' -e 's:^CFLAGS = :#CFLAGS = :' \
+ -e 's:\tcc :\t$(CC) $(CFLAGS) $(LDFLAGS) :' \
+ -i Makefile || die
+
+ # we use /usr/share/astrolog for config and (optional) ephemeris-data-files
+ sed -i -e "s:~/astrolog:/usr/share/astrolog:g" astrolog.h || die
+
+ # if we use X, we need to add -L/usr/X11R6/lib to compile succesful
+ #use X && sed -i -e "s:-lm -lX11:-lm -lX11 -L/usr/X11R6/lib:g" Makefile
+
+ # if we do NOT use X, we disable it by removing the -lX11 from the Makefile
+ # and remove the "#define X11" and "#define MOUSE" from astrolog.h
+ use X || ( sed -i -e "s:-lm -lX11:-lm:g" Makefile
+ sed -i -e "s:#define X11:/*#define X11:g" astrolog.h
+ sed -i -e "s:#define MOUSE:/*#define MOUSE:g" astrolog.h )
+
+ # any user may have an own astrolog configfile
+ #sed -i -e "s:astrolog.dat:astrolog.dat:g" astrolog.h
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin astrolog
+ dodoc Helpfile.540 README.1ST README.540 Update.540
+ insinto /usr/share/astrolog
+ doins astrolog.dat
+}
+
+pkg_postinst() {
+ ewarn "There is a sample config file /usr/share/astrolog/astrolog.dat"
+ ewarn "astrolog looks in current dir for a file astrolog.dat before"
+ ewarn "using the file in /usr/share/astrolog"
+ ewarn "If you want extended accuracy of astrolog's calculations you"
+ ewarn "can emerge the optional package \"astrolog-ephemeris\" which"
+ ewarn "needs ~4.7 MB additional diskspace for the ephemeris-files"
+}
diff --git a/app-misc/astrolog/astrolog-5.40-r3.ebuild b/app-misc/astrolog/astrolog-5.40-r3.ebuild
new file mode 100644
index 000000000000..d75e36445013
--- /dev/null
+++ b/app-misc/astrolog/astrolog-5.40-r3.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit toolchain-funcs
+
+DESCRIPTION="A many featured astrology chart calculation program"
+HOMEPAGE="http://www.astrolog.org/astrolog.htm"
+SRC_URI="http://www.astrolog.org/ftp/ast54unx.shr"
+
+LICENSE="astrolog"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="X"
+
+DEPEND="X? ( x11-libs/libX11 )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_unpack() {
+ sh "${DISTDIR}"/ast54unx.shr || die
+}
+
+src_prepare() {
+ default
+
+ # remove stripping of created binary, dump hardcoded CFLAGS,
+ # respect CC (bug #243606), and CFLAGS (bug #240057)
+ sed \
+ -e 's:strip:#strip:' -e 's:^CFLAGS = :#CFLAGS = :' \
+ -e 's:\tcc :\t$(CC) $(CFLAGS) $(LDFLAGS) :' \
+ -i Makefile || die
+
+ # we use /usr/share/astrolog for config and (optional) ephemeris-data-files
+ sed -i -e "s:~/astrolog:/usr/share/astrolog:g" astrolog.h || die
+
+ # if we use X, we need to add -L/usr/X11R6/lib to compile succesful
+ #use X && sed -i -e "s:-lm -lX11:-lm -lX11 -L/usr/X11R6/lib:g" Makefile
+
+ # if we do NOT use X, we disable it by removing the -lX11 from the Makefile
+ # and remove the "#define X11" and "#define MOUSE" from astrolog.h
+ use X || ( sed -i -e "s:-lm -lX11:-lm:g" Makefile || die
+ sed -i -e "s:#define X11:/*#define X11:g" astrolog.h || die
+ sed -i -e "s:#define MOUSE:/*#define MOUSE:g" astrolog.h || die)
+
+ # any user may have an own astrolog configfile
+ #sed -i -e "s:astrolog.dat:astrolog.dat:g" astrolog.h || die
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ dobin astrolog
+ dodoc Helpfile.540 README.1ST README.540 Update.540
+ insinto /usr/share/astrolog
+ doins astrolog.dat
+}
+
+pkg_postinst() {
+ elog "There is a sample config file /usr/share/astrolog/astrolog.dat"
+ elog "astrolog looks in current dir for a file astrolog.dat before"
+ elog "using the file in /usr/share/astrolog"
+ elog "If you want extended accuracy of astrolog's calculations you"
+ elog "can emerge the optional package \"astrolog-ephemeris\" which"
+ elog "needs ~4.7 MB additional diskspace for the ephemeris-files"
+}
diff --git a/app-misc/astrolog/metadata.xml b/app-misc/astrolog/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/app-misc/astrolog/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>