Skip to content

Commit

Permalink
dev-ada/gps: Adding gnat documentation
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.13, Repoman-2.3.3
  • Loading branch information
atupone committed Nov 25, 2017
1 parent 34e16e0 commit d15df99
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
1 change: 1 addition & 0 deletions dev-ada/gps/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST gnat-gpl-2017-x86_64-linux-bin.tar.gz 496338280 BLAKE2B b3eee6d311fb9c20bc8fa7217c0731ca1e91ced38700df1d63d91a16c3fa28dfd44c7c8e867c3a857b88e4f0c8b2a7200fb6a8a630b8403538c4784f8914d1a5 SHA512 01a8f3be9b7b7e83cc5bd4a45137b1d35c6448bc22a88bcaf5d312cd63e11081b6b2fe9f09ad2a27d8f0b6471fc5c1a99573bf3bcee1589329054074eaeef04f
DIST gps-gpl-2017-src.tar.gz 41216830 BLAKE2B 51ca89c38fa81888a9cf1831cf97f7e0ad72c444328a29063249a4fe72bbdc8357552d470872e9fbbeaf349ef0427b59fa41a0efb56200a07a9426343c731a57 SHA512 101ecef7f183de1da0c2b09d77f284a5e8c5ae56f34a897c8d471e79fe9a2832742608ff5251197ba2a52b5d9dfee6c6937fc22cd55f6d8f38359b070393cb64
14 changes: 12 additions & 2 deletions dev-ada/gps/gps-2017.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ MYP=${PN}-gpl-${PV}-src
DESCRIPTION="The GNAT Programming Studio"
HOMEPAGE="http://libre.adacore.com/tools/gps/"
SRC_URI="http://mirrors.cdn.adacore.com/art/591c45e2c7a447af2deed03b
-> ${MYP}.tar.gz"
-> ${MYP}.tar.gz
doc? ( http://mirrors.cdn.adacore.com/art/591c6d80c7a447af2deed1d7
-> gnat-gpl-2017-x86_64-linux-bin.tar.gz )"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
IUSE="doc"

RDEPEND="${PYTHON_DEPS}
>=dev-ada/gnatcoll-2017[gtk,iconv,projects,pygobject,shared,sqlite,tools]
Expand Down Expand Up @@ -57,3 +59,11 @@ src_prepare() {
src_compile() {
emake GPRBUILD_FLAGS="-v ${MAKEOPTS}"
}

src_install() {
default
if use doc; then
insinto /usr/share/doc
doins -r "${WORKDIR}"/gnat-gpl-2017-x86_64-linux-bin/share/doc/gnat
fi
}

0 comments on commit d15df99

Please sign in to comment.