# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /opt/cvsroot/gjots/gjots2.ebuild,v 1.6 2004/11/30 08:41:34 bhepple Exp $ inherit python gnome.org DESCRIPTION="A graphical (GNOME 2) jotter tool" HOMEPAGE="http://bhepple.freeshell.org/gjots/" SRC_URI="http://bhepple.freeshell.org/gjots/${P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=dev-lang/python-2.3.4 >=gnome-base/libglade-2.4.0 >=gnome-base/libgnome-2 >=dev-python/gnome-python-2.0.2 >=dev-python/pygtk-2.4.1 >=dev-python/pyorbit-2.0.0" MAKEOPTS="${MAKEOPTS} -j1" #src_compile() { # emake || die "make failed" #} src_install() { cd ${S} dobin bin/gjots2 bin/gjots2html bin/gjots2docbook bin/docbook2gjots insinto /usr/lib/gjots2 doins lib/*.py insinto /usr/share/gjots2 doins gjots.glade2 insinto /usr/share/gjots2 doins gjots.png insinto /usr/share/pixmaps doins gjots.png insinto /usr/share/applications doins gjots2.desktop insinto /usr/share/man/man1 doins share/man/man1/gjots2.1 share/man/man1/gjots2html.1 share/man/man1/gjots2docbook.1 share/man/man1/docbook2gjots.1 dodoc README AUTHORS COPYING INSTALL ChangeLog insinto /usr/share/doc/${PF} doins gjots2.gjots } pkg_postinst() { python_mod_optimize /usr/lib/gjots2 } pkg_postrm() { python_mod_cleanup /usr/lib/gjots2 }