diff options
author | Michael Januszewski <spock@gentoo.org> | 2004-06-21 16:54:14 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2004-06-21 16:54:14 +0000 |
commit | d6df0e10e81c9e50af5e4a9295ecd4d95d8915bb (patch) | |
tree | 1532f0ba91e7b915c474c56a17c7ca5c142108cc /x11-misc/xfractint/xfractint-20.3.02.ebuild | |
parent | Fixed dodoc stuff (Manifest recommit) (diff) | |
download | gentoo-2-d6df0e10e81c9e50af5e4a9295ecd4d95d8915bb.tar.gz gentoo-2-d6df0e10e81c9e50af5e4a9295ecd4d95d8915bb.tar.bz2 gentoo-2-d6df0e10e81c9e50af5e4a9295ecd4d95d8915bb.zip |
Version bump.
Diffstat (limited to 'x11-misc/xfractint/xfractint-20.3.02.ebuild')
-rw-r--r-- | x11-misc/xfractint/xfractint-20.3.02.ebuild | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/x11-misc/xfractint/xfractint-20.3.02.ebuild b/x11-misc/xfractint/xfractint-20.3.02.ebuild new file mode 100644 index 000000000000..05c763c2c1a3 --- /dev/null +++ b/x11-misc/xfractint/xfractint-20.3.02.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xfractint/xfractint-20.3.02.ebuild,v 1.1 2004/06/21 16:54:14 spock Exp $ + +inherit eutils flag-o-matic + +MY_P=xfractint-20.03p02 +S="${WORKDIR}/${MY_P}" +DESCRIPTION="The best fractal generator for X." +HOMEPAGE="http://www.fractint.org" +SRC_URI="http://www.fractint.org/ftp/current/linux/${P/int-/}.tar.gz" + +KEYWORDS="~x86 ~sparc ~ppc ~amd64" +SLOT="0" +LICENSE="freedist" +IUSE="" + +DEPEND="virtual/glibc + >=sys-libs/ncurses-5.1 + virtual/x11" + +RDEPEND=$DEPEND + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${PN}-20.03p01-make.patch +} + +src_compile() { + cd ${S} + cp Makefile Makefile.orig + replace-flags "-funroll-all-loops" "-funroll-loops" + sed -e "s:CFLAGS = :CFLAGS = $CFLAGS :" Makefile.orig >Makefile + + MAKEOPTS='-j1' emake +} + +src_install() { + dodir /usr/bin + dodir /usr/share/xfractint + dodir /usr/man/man1 + + make \ + BINDIR=${D}usr/bin \ + MANDIR=${D}usr/man/man1 \ + SRCDIR=${D}usr/share/xfractint \ + install || die + + insinto /etc/env.d + newins ${FILESDIR}/xfractint.envd 60xfractint +} + +pkg_postinst() { + einfo + einfo "XFractInt requires the FRACTDIR variable to be set in order to start." + einfo "Please re-login or \`source /etc/profile\` to have this variable set automatically." + einfo +} |