You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-office/multitalk/multitalk-1.4.ebuild

52 lines
1.3 KiB

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/multitalk/multitalk-1.4.ebuild,v 1.4 2013/06/16 09:05:33 pacho Exp $
EAPI=5
inherit eutils toolchain-funcs readme.gentoo
DESCRIPTION="A new type of presentation program"
HOMEPAGE="http://www.srcf.ucam.org/~dmi1000/multitalk/"
SRC_URI="http://www.srcf.ucam.org/~dmi1000/multitalk/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="examples latex"
DEPEND=">=media-libs/libsdl-1.2.7
>=media-libs/sdl-image-1.2.3
>=media-libs/sdl-ttf-2.0.6
>=media-libs/sdl-gfx-2.0.13"
RDEPEND="${DEPEND}
latex? ( virtual/latex-base
|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) )"
S="${WORKDIR}/${PN}"
DOC_CONTENTS="
You will have to source /etc/profile (or logout and back in).
See also /usr/share/doc/${PF}/${PN}.pdf."
src_prepare() {
sed -i \
-e "s:g++:$(tc-getCXX) ${CXXFLAGS}:" \
-e "s:-L\${HOME}/lib:${LDFLAGS}:" \
Makefile || die "sed for Makefile failed."
}
src_install() {
dodir /usr/bin
emake SYSPREFIX="${D}usr" install
insinto /usr/share/${PN}/examples
doins examples/about.{graph,talk}
doenvd "${FILESDIR}/99multitalk"
dodoc README docs/Changelog docs/multitalk.pdf
readme.gentoo_create_doc
}