# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # Author Yohan Fidzri hoyanf@gmail.com # $Header: /cvsroot/flameproject/packaging-files/gentoo/flameproject-0.7.7.12.ebuild,v 1.1 2007/09/26 12:05:43 Exp $ inherit autotools eutils multilib MY_PV="${PV}.dev" MY_P="${PN}-${MY_PV}" DESCRIPTION="An Integrated Development Environment for producing Animated SVG files, similar to Macromedia Captivate." HOMEPAGE="http://www.flameproject.org/" SRC_URI="mirror://sourceforge/${PN}/${PN}-0.7.7.dev-200709242316.tar.bz2" LICENSE="LGPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="debug" RDEPEND="sys-devel/autoconf dev-util/pkgconfig media-libs/giflib dev-libs/glib x11-libs/gtk+ gnome-base/libgnome media-libs/libpng media-libs/jpeg dev-libs/libxml2 sys-libs/zlib gnome-base/gconf" DEPEND="${RDEPEND}" S="${WORKDIR}/flame_project-0.7.7.dev" src_compile() { if use debug; then replace-flags -g0 -g && append-flags "-fomit-frame-pointer" fi eautoconf eautoreconf econf \ $(use_enable debug) || die "econf failed" emake -j1 || die "emake failed" } src_install() { cd ${S} einstall || die "einstall failed" dodoc flame_edit/AUTHORS flame_edit/LICENSE.TXT flame_edit/NOTES.TXT || die "dodoc failed" } pkg_postinst() { ewarn "DO NOT report bugs to Gentoo's bugzilla" elog "Please report all bugs at http://sourceforge.net/forum/forum.php?forum_id=195288" elog "Thank you for using FlameProject" }