diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2008-11-20 16:30:27 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2008-11-20 16:30:27 +0000 |
commit | 19fe7bbf7ad72cceb67f94fa3aadad927e05ff6e (patch) | |
tree | ad1814ab1cc4d8e074cec23f1ddd7c7666247d7d /app-office/multitalk/multitalk-1.4.ebuild | |
parent | Moved XFCE_CONFIG to pkg_setup (diff) | |
download | historical-19fe7bbf7ad72cceb67f94fa3aadad927e05ff6e.tar.gz historical-19fe7bbf7ad72cceb67f94fa3aadad927e05ff6e.tar.bz2 historical-19fe7bbf7ad72cceb67f94fa3aadad927e05ff6e.zip |
Initial import.
Package-Manager: portage-2.2_rc14/cvs/Linux 2.6.27-gentoo-r2 x86_64
Diffstat (limited to 'app-office/multitalk/multitalk-1.4.ebuild')
-rw-r--r-- | app-office/multitalk/multitalk-1.4.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app-office/multitalk/multitalk-1.4.ebuild b/app-office/multitalk/multitalk-1.4.ebuild new file mode 100644 index 000000000000..ab48ca1c8af6 --- /dev/null +++ b/app-office/multitalk/multitalk-1.4.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2008 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.1 2008/11/20 16:30:27 matsuu Exp $ + +inherit eutils toolchain-funcs + +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" +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 )" + +S="${WORKDIR}/${PN}" + +src_unpack() { + unpack ${A} + + cd "${S}" + 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 || die + + insinto /usr/share/${PN}/examples + doins examples/about.{graph,talk} + + doenvd "${FILESDIR}/99multitalk" + + dodoc README docs/Changelog docs/multitalk.pdf +} + +pkg_postinst() { + elog "You will have to source /etc/profile (or logout and back in)." + elog "See also /usr/share/doc/${PF}/${PN}.pdf." +} |