diff options
-rw-r--r-- | app-portage/g-octave/ChangeLog | 4 | ||||
-rw-r--r-- | app-portage/g-octave/Manifest | 4 | ||||
-rw-r--r-- | app-portage/g-octave/g-octave-9999.ebuild | 16 |
3 files changed, 20 insertions, 4 deletions
diff --git a/app-portage/g-octave/ChangeLog b/app-portage/g-octave/ChangeLog index 564fda73a..dd1ca618d 100644 --- a/app-portage/g-octave/ChangeLog +++ b/app-portage/g-octave/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 04 Aug 2010; Rafael Goncalves Martins <rafael@rafaelmartins.eng.br> + g-octave-9999.ebuild: + Updated the live ebuild. Added the USE flag 'doc'. + *g-octave-0.4 (04 Aug 2010) 04 Aug 2010; Rafael Goncalves Martins <rafael@rafaelmartins.eng.br> diff --git a/app-portage/g-octave/Manifest b/app-portage/g-octave/Manifest index 340e4601d..3062dd57d 100644 --- a/app-portage/g-octave/Manifest +++ b/app-portage/g-octave/Manifest @@ -1,6 +1,6 @@ DIST g-octave-0.4-db.tar.gz 18820 RMD160 2048d91cf87a8712d4a47a3b034861d51af3d944 SHA1 63b551dadc9962713633b972131015e02d797ae4 SHA256 503619abefa07822bdea5f43068217949f54a98cdd5ddf220f97ac3de21877a6 DIST g-octave-0.4.tar.gz 52853 RMD160 04daf2b8734a212bb711f275fbbe856a5f3dfea7 SHA1 0bf57bbb35302769df8e76452b810a82916b2791 SHA256 980b3d96cb4d3d5376c85c3c06da9be15d3efffd431a3ed7f994793c11d66ad0 EBUILD g-octave-0.4.ebuild 2098 RMD160 16c43b0e47199b5f85cf48053ea3e4965574d339 SHA1 0d3255a48878bf5ffda9103666b105396dda2678 SHA256 088eafcf6a53ad4abe6b640817a30e5c2cadbd60551848d265c6410a3f3db398 -EBUILD g-octave-9999.ebuild 777 RMD160 b48e16d79c71936dbf96988e8d0757b9e63593c6 SHA1 55902ceb7c1f000a7f77285fe25ce43d18245f36 SHA256 a9e09fcfca991681ccb72fbc279cddde6139c3ab35e619f44bf6eed4f6d542d9 -MISC ChangeLog 2426 RMD160 56cde46f146717082672e4e0d26c1d36b0bce161 SHA1 238b123891ff4937cc29276a7c3409b7da304553 SHA256 452a016bd303f8efb70b9cb46c4f7a0075f0d2b3ed20f2be94f4f4e29291f794 +EBUILD g-octave-9999.ebuild 984 RMD160 290f07010bd57a680483e5aad6492b8967fe63ff SHA1 ff7ff4537c7d2a291b60766530168b31982fa786 SHA256 558d441ef1fe6481317648ef4071dbc264b0d6c94ccbcbaa286a3100cb2d2c74 +MISC ChangeLog 2574 RMD160 106b35c241056f24fcbc403db2af1b50db148610 SHA1 1d8decb42d928a9485460211ae24d9af405ac7f4 SHA256 dbc954f4abb571b7f6699dc709788d06a0321cc16aaf338d51ac10a9a5755187 MISC metadata.xml 755 RMD160 c95cb26b5d1414bdc32e75426611fa2958b0ad0a SHA1 ede641c7cd18ad0f7956a81eaaab2e763f8197ba SHA256 cb005e8d8ce6bf8bad8e99edb3344916d0d5e61dbf736eed57b2c033dce1530f diff --git a/app-portage/g-octave/g-octave-9999.ebuild b/app-portage/g-octave/g-octave-9999.ebuild index 17c39939f..7bec90ae5 100644 --- a/app-portage/g-octave/g-octave-9999.ebuild +++ b/app-portage/g-octave/g-octave-9999.ebuild @@ -16,19 +16,31 @@ EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/g-octave.git" LICENSE="GPL-2" SLOT="0" KEYWORDS="" -IUSE="test" +IUSE="doc test" -DEPEND=">=dev-python/docutils-0.6" +DEPEND=">=dev-python/docutils-0.6 + doc? ( >=dev-python/sphinx-1.0 )" RDEPEND="sys-apps/portage" S="${WORKDIR}/${PN}" PYTHON_MODNAME="g_octave" +src_compile() { + distutils_src_compile + if use doc; then + emake -C docs html + fi +} + src_install() { distutils_src_install dohtml ${PN}.html doman ${PN}.1 + if use doc; then + mv docs/_build/{html,sphinx} + dohtml -r docs/_build/sphinx + fi } src_test() { |