Portage is a package management system used by Gentoo Linux
# ChangeLog for app-misc/astrolog
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/astrolog/ChangeLog,v 1.11 2007/07/22 10:06:45 omp Exp $
22 Jul 2007; David Shakaryan
Remove virtual/x11 from dependencies.
27 Oct 2006; George Shapovalov
fixed the prestripping issue (#152259). Cleaned up src_unpack (removed
unnecessary seds), adjusted DEPEND so that it plays nicely with the modular
X.
07 Nov 2005; George Shapovalov
fixed missing DEPEND on (optional) X (#109227)
21 Apr 2005; Simon Stelling
stable on amd64
08 Dec 2004; Karol Wojtaszek
Added to ~amd64, bug #73723
05 Oct 2004; Pieter Van den Abeele
astrolog-5.40.ebuild:
Masked astrolog-5.40.ebuild stable for ppc
19 Sept 2004; Tom Gall
stable on ppc64 bug #63655
14 Aug 2004; Sven Wegener
Fixed CVS Header.
*astrolog-5.40 (30 Jul 2003)
Initial ebuild created by Nicolai Lissner
DIST ast54unx.shr 1465432 RMD160 4714490507ab673be707d0e09ff965012cd6c3ca SHA1 8511f7cdee0a559779f30d838e55e44585775840 SHA256 6700d393a421c16076d1aad37f171fde6293f1c062ec6a6ee07a884182287736
EBUILD astrolog-5.40.ebuild 2085 RMD160 24dbe1ab1d56035ce504e4c9e355c2c05b7183b1 SHA1 52341c5d67897e3ec6ee2a03d60ce65d3c8f5c1e SHA256 808b27c49ddbb55491250e9aa6e15c111956eb45122cf33a07f375071d742463
MISC ChangeLog 1268 RMD160 5c1d02d93459f438b595e985fadb85ab756bbf8d SHA1 6632c2e6439cf7738c09277aa1a46a4439acdd43 SHA256 34ae89a9c9c8830351777add08d5fe89007b8dbf8ac2b24e68d47db254f8b03c
MISC metadata.xml 408 RMD160 e2b9c72b8bf8f4a796b7cee6f4a2d333a95f7cf1 SHA1 71aee6db4caf0f84f0d9e3faa3d11eb1e3a84c89 SHA256 5a385b482245c60322c6e546f993bd7b79d66c6087f8449bdd1ae78c8f45afba
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/astrolog/astrolog-5.40.ebuild,v 1.11 2007/07/22 10:06:45 omp Exp $
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"
# works fine on x86 - runs probably on other architectures, too
KEYWORDS="x86 ppc64 ppc amd64"
IUSE="X"
DEPEND="X? ( x11-libs/libX11 )"
S="${WORKDIR}"
src_unpack() {
bash ${DISTDIR}/ast54unx.shr
cd ${S}
# remove stripping of created binary and substituce CFLAGS
sed -i -e "s:strip:#strip:" -e "s:= -O:= ${CFLAGS}:" Makefile
# we use /usr/share/astrolog for config and (optional) ephemeris-data-files
sed -i -e "s:~/astrolog:/usr/share/astrolog:g" astrolog.h
# 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 || die
}
src_install() {
dodir /usr/bin
cp astrolog ${D}/usr/bin/
dodoc Helpfile.540 README.1ST README.540 Update.540
dodir /usr/share/astrolog
cp astrolog.dat ${D}/usr/share/astrolog/
}
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"
}
I've put sci there, as it seems the most related one.