You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-tcltk/tklib/tklib-0.5-r1.ebuild

30 lines
778 B

# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tklib/tklib-0.5-r1.ebuild,v 1.1 2010/08/02 14:27:14 jlec Exp $
inherit multilib
DESCRIPTION="Collection of utility modules for Tk, and a companion to Tcllib"
HOMEPAGE="http://www.tcl.tk/software/tklib"
SRC_URI="mirror://sourceforge/project/tcllib/${PN}/${PV}/${P}.tar.bz2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
LICENSE="BSD"
IUSE="doc"
RDEPEND="
dev-lang/tk
dev-tcltk/tcllib"
DEPEND="${RDEPEND}"
src_install() {
emake DESTDIR="${D}" install || die
if use doc; then
emake DESTDIR="${D}" doc || die
dohtml doc/html/* || die
fi
dodoc ChangeLog DESCRIPTION.txt README* || die
dosym ${PN}${PV} /usr/$(get_libdir)/${PN}
}