/[gentoo-x86]/dev-lang/entity/entity-0.7.2-r1.ebuild
Gentoo

Contents of /dev-lang/entity/entity-0.7.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.20 - (show annotations) (download)
Fri Apr 17 04:02:37 2009 UTC (5 years, 8 months ago) by darkside
Branch: MAIN
CVS Tags: HEAD
Changes since 1.19: +1 -1 lines
FILE REMOVED
removed, been masked for longer than a year

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-lang/entity/entity-0.7.2-r1.ebuild,v 1.19 2007/07/13 06:25:50 mr_bones_ Exp $
4
5 IUSE="sdl ssl opengl python tk perl"
6
7 DESCRIPTION="An XML Framework"
8 SRC_URI="http://www.entity.cx/Download/files/${P}.tar.gz"
9 HOMEPAGE="http://www.entity.cx/"
10
11 DEPEND=">=media-libs/imlib-1.9.10-r1
12 >=dev-libs/libpcre-3.2
13 tk? ( >=dev-lang/tk-8.1.1 )
14 perl? ( >=dev-lang/perl-5.6 )
15 python? ( >=dev-lang/python-2.0-r4 )
16 sdl? ( >=media-libs/libsdl-1.1.7 )
17 ssl? ( >=dev-libs/openssl-0.9.6 )
18 opengl? ( <x11-libs/gtkglarea-1.99.0 )"
19
20 SLOT="0"
21 LICENSE="MIT"
22 KEYWORDS="x86 sparc"
23
24 src_compile() {
25
26 local myconf
27 use tk \
28 && myconf="--enable-tcl=module --with-tcl=/usr/lib" \
29 || myconf="--enable-tcl=no"
30
31 use perl \
32 && myconf="${myconf} --enable-perl=static" \
33 || myconf="${myconf} --enable-perl=no"
34
35 use python \
36 && myconf="${myconf} --enable-python=static" \
37 || myconf="${myconf} --enable-python=no"
38
39 use ssl \
40 && myconf="${myconf} --enable-openssl"
41
42 use sdl \
43 && myconf="${myconf} --enable-sdl"
44
45 use opengl \
46 && myconf="${myconf} --enable-gtkgl"
47
48 DEBIAN_ENTITY_MAGIC="voodoo" CFLAGS="$CFLAGS -I/usr/X11R6/include" \
49 econf \
50 --enable-exec-class=yes \
51 --enable-gtk=module \
52 --enable-c=module \
53 --enable-javascript=yes \
54 --with-included-njs \
55 --enable-csinc \
56 ${myconf} || die
57
58 make \
59 LDFLAGS="-L/usr/lib/python2.0/config/ -lpython2.0 `python-config --libs`" \
60 || die
61 }
62
63 src_install () {
64 make DESTDIR=${D} LD_LIBRARY_PATH=${D}/usr/lib install || die
65
66 insinto /usr/share/entity/stembuilder
67 doins stembuilder/*.e
68 chmod +x ${D}/usr/share/entity/stembuilder/stembuilder.e
69 insinto /usr/share/entity/apps
70 doins apps/*.e
71 chmod +x ${D}/usr/share/entity/apps/{enview,ev}.e
72 exeinto /usr/share/entity/examples
73 doexe examples/*.e
74 insinto /usr/share/entity/stembuilder/images
75 doins stembuilder/images/*.xpm
76
77 dodoc AUTHORS COPYING ChangeLog LICENSE NEWS README TODO
78 docinto txt
79 dodoc docs/README* docs/*.txt docs/*.ascii
80 dohtml -r docs
81 docinto print
82 dodoc docs/*.ps
83 docinto sgml
84 dodoc docs/*.sgml
85 }

  ViewVC Help
Powered by ViewVC 1.1.20