Skip to content

Commit

Permalink
dev-tcltk/tkpiechart: EAPI 7
Browse files Browse the repository at this point in the history
Bugs: https://bugs.gentoo.org/697338
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Alfredo Tupone <[email protected]>
  • Loading branch information
atupone committed Oct 12, 2019
1 parent 292bc09 commit d3f8a83
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev-tcltk/tkpiechart/tkpiechart-6.5-r1.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=0
Expand All @@ -16,6 +16,7 @@ IUSE=""

DEPEND=">=dev-lang/tk-8.3
dev-tcltk/tcllib"
RDEPEND="${DEPEND}"

src_install() {
dodir /usr/$(get_libdir)/tkpiechart
Expand Down
30 changes: 30 additions & 0 deletions dev-tcltk/tkpiechart/tkpiechart-6.5-r2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit multilib

DESCRIPTION="create and update 2D or 3D pie charts in a Tcl/Tk application"
HOMEPAGE="http://jfontain.free.fr/piechart6.htm"
SRC_URI="http://jfontain.free.fr/${P}.tar.bz2"

LICENSE="jfontain"
KEYWORDS="~amd64 ~ppc ~x86"
SLOT="0"
IUSE=""

DEPEND="dev-lang/tk:*
dev-tcltk/tcllib"
RDEPEND="${DEPEND}"

src_install() {
dodir /usr/$(get_libdir)/tkpiechart
./instapkg.tcl "${D}"/usr/$(get_libdir)/tkpiechart || die

HTML_DOCS=( *.gif *.htm )
einstalldocs
docinto demo
dodoc demo*
docompress -x /usr/share/doc/${PF}/demo
}

0 comments on commit d3f8a83

Please sign in to comment.