/[gentoo-x86]/dev-tcltk/tkdnd/tkdnd-2.2.ebuild
Gentoo

Contents of /dev-tcltk/tkdnd/tkdnd-2.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Jan 7 16:55:39 2012 UTC (2 years, 11 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Adding keywords for ~amd64 ~amd64-linux ~x86-linux

(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkdnd/tkdnd-2.2.ebuild,v 1.1 2012/01/06 17:49:33 jlec Exp $
4
5 EAPI=4
6
7 inherit autotools-utils eutils
8
9 MY_PN="TkDND"
10
11 DESCRIPTION="Extension that adds native drag & drop capabilities to the tk toolkit"
12 HOMEPAGE="http://www.ellogon.org/petasis/tcltk-projects/tkdnd/"
13 SRC_URI="mirror://sourceforge/${PN}/${MY_PN}/${MY_PN}%20${PV}/${P/-/}.tar.gz"
14
15 LICENSE="BSD"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
18 IUSE="debug threads X"
19
20 RESTRICT="test"
21
22 DEPEND="dev-lang/tk"
23 RDEPEND=${DEPEND}
24
25 S=${WORKDIR}/${P/-/}
26
27 src_prepare() {
28 sed \
29 -e 's:-O2::g' \
30 -e 's:-fomit-frame-pointer::g' \
31 -e 's:-pipe::g' \
32 -i configure tclconfig/tcl.m4 || die
33 }
34
35 src_configure() {
36 local myeconfargs
37 use X && myeconfargs+=( --with-x )
38 use debug && myeconfargs+=( --with-symbols )
39 use threads && myeconfargs+=( --enable-threads )
40 autotools-utils_src_configure
41 }

  ViewVC Help
Powered by ViewVC 1.1.20