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/tktray/tktray-1.1-r1.ebuild

46 lines
952 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tktray/tktray-1.1-r1.ebuild,v 1.4 2014/03/09 09:51:09 pacho Exp $
EAPI="3"
inherit eutils
MY_P="${PN}${PV}"
DESCRIPTION="System Tray Icon Support for Tk on X11"
HOMEPAGE="http://sw4me.com/wiki/Tktray"
SRC_URI="http://www.sw4me.com/${MY_P}.tar.gz"
LICENSE="tcltk"
SLOT="0"
KEYWORDS="~alpha amd64 ~ppc ~sparc ~x86"
IUSE="threads debug"
RESTRICT="test"
DEPEND=">=dev-lang/tcl-8.4
>=dev-lang/tk-8.4
x11-libs/libXext"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch "${FILESDIR}"/${PV}-ldflags.patch
}
src_configure() {
source /usr/lib/tclConfig.sh
CPPFLAGS="-I${TCL_SRC_DIR}/generic ${CPPFLAGS}" \
econf \
$(use_enable debug symbols) \
$(use_enable threads)
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc ChangeLog || die
dohtml doc/*.html || die
}