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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.28 - (show annotations) (download)
Mon Mar 6 23:18:02 2006 UTC (8 years, 6 months ago) by pylon
Branch: MAIN
CVS Tags: HEAD
Changes since 1.27: +1 -1 lines
FILE REMOVED
Removing old versions for CVS maintenance (problems with doubled version in Attic).
(Portage version: 2.1_pre5-r4)

1 # Copyright 1999-2004 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.ebuild,v 1.27 2004/06/24 22:48:06 agriffis Exp $
4
5 IUSE="sdl gnome ssl opengl python tcltk 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 tcltk? ( >=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 gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 )"
20
21
22 SLOT="0"
23 LICENSE="MIT"
24 KEYWORDS="x86 sparc"
25
26 src_compile() {
27
28 local myconf
29 use tcltk \
30 && myconf="--enable-tcl=module --with-tcl=/usr/lib" \
31 || myconf="--enable-tcl=no"
32
33 use perl \
34 && myconf="${myconf} --enable-perl=static" \
35 || myconf="${myconf} --enable-perl=no"
36
37 use python \
38 && myconf="${myconf} --enable-python=static" \
39 || myconf="${myconf} --enable-python=no"
40
41 use ssl \
42 && myconf="${myconf} --enable-openssl"
43
44 use sdl \
45 && myconf="${myconf} --enable-sdl"
46
47 use gnome \
48 && myconf="${myconf} --enable-gnome --enable-gdkimlib"
49
50 use opengl \
51 && myconf="${myconf} --enable-gtkgl"
52
53 DEBIAN_ENTITY_MAGIC="voodoo" CFLAGS="$CFLAGS -I/usr/X11R6/include" \
54 econf \
55 --enable-exec-class=yes \
56 --enable-gtk=module \
57 --enable-c=module \
58 --enable-javascript=yes \
59 --with-included-njs \
60 --enable-csinc \
61 ${myconf} || die
62
63 make \
64 LDFLAGS="-L/usr/lib/python2.0/config/ -lpython2.0 `python-config --libs`" \
65 || die
66 }
67
68 src_install () {
69 make DESTDIR=${D} LD_LIBRARY_PATH=${D}/usr/lib install
70 insinto /usr/share/entity/stembuilder
71 doins stembuilder/*.e
72 chmod +x ${D}/usr/share/entity/stembuilder/stembuilder.e
73 insinto /usr/share/entity/apps
74 doins apps/*.e
75 chmod +x ${D}/usr/share/entity/apps/{enview,ev}.e
76 exeinto /usr/share/entity/examples
77 doexe examples/*.e
78 insinto /usr/share/entity/stembuilder/images
79 doins stembuilder/images/*.xpm
80
81 dodoc AUTHORS COPYING ChangeLog LICENSE NEWS README TODO
82 docinto txt
83 dodoc docs/README* docs/*.txt docs/*.ascii
84 dohtml -r docs
85 docinto print
86 dodoc docs/*.ps
87 docinto sgml
88 dodoc docs/*.sgml
89 }

  ViewVC Help
Powered by ViewVC 1.1.20