diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-08-02 04:40:50 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-08-02 04:40:50 +0000 |
commit | 6ceebda347804c87ce4f44c26b68f968bd59303f (patch) | |
tree | 913b56d41ed452d2cfe490b89cd9416016b32bdd /dev-lang/entity | |
parent | repoman'd (diff) | |
download | historical-6ceebda347804c87ce4f44c26b68f968bd59303f.tar.gz historical-6ceebda347804c87ce4f44c26b68f968bd59303f.tar.bz2 historical-6ceebda347804c87ce4f44c26b68f968bd59303f.zip |
beautified
Diffstat (limited to 'dev-lang/entity')
-rw-r--r-- | dev-lang/entity/entity-0.7.2-r1.ebuild | 126 | ||||
-rw-r--r-- | dev-lang/entity/entity-0.7.2.ebuild | 123 |
2 files changed, 119 insertions, 130 deletions
diff --git a/dev-lang/entity/entity-0.7.2-r1.ebuild b/dev-lang/entity/entity-0.7.2-r1.ebuild index c330dab960da..57efc46c48b2 100644 --- a/dev-lang/entity/entity-0.7.2-r1.ebuild +++ b/dev-lang/entity/entity-0.7.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/dev-lang/entity/entity-0.7.2-r1.ebuild,v 1.5 2002/08/01 11:59:01 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/entity/entity-0.7.2-r1.ebuild,v 1.6 2002/08/02 04:40:50 seemant Exp $ S=${WORKDIR}/${P} DESCRIPTION="An XML Framework" @@ -17,79 +17,73 @@ DEPEND=">=media-libs/imlib-1.9.10-r1 opengl? ( <x11-libs/gtkglarea-1.99.0 ) gnome? ( >=gnome-base/gnome-libs-1.4.1.2-r1 )" -RDEPEND="${DEPEND}" - SLOT="0" LICENSE="MIT" -KEYWORD="x86" +KEYWORDS="x86" src_compile() { - local myconf - if [ "`use tcltk`" ] - then - myconf="--enable-tcl=module --with-tcl=/usr/lib" - else - myconf="--enable-tcl=no" - fi - if [ "`use perl`" ] - then - myconf="$myconf --enable-perl=static" - else - myconf="$myconf --enable-perl=no" - fi - if [ "`use python`" ] - then - myconf="$myconf --enable-python=static" - else - myconf="$myconf --enable-python=no" - fi - if [ "`use ssl`" ] - then - myconf="$myconf --enable-openssl" - fi - if [ "`use sdl`" ] - then - myconf="$myconf --enable-sdl" - fi - if [ "`use gnome`" ] - then - myconf="$myconf --enable-gnome --enable-gdkimlib" - fi - if [ "`use opengl`" ] - then - myconf="$myconf --enable-gtkgl" - fi - try DEBIAN_ENTITY_MAGIC="voodoo" CFLAGS="$CFLAGS -I/usr/X11R6/include" ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST} \ - --enable-exec-class=yes \ - --enable-gtk=module \ - --enable-c=module $myconf \ - --enable-javascript=yes --with-included-njs --enable-csinc - try make LDFLAGS="-L/usr/lib/python2.0/config/ -lpython2.0 `python-config --libs`" + local myconf + use tcltk \ + && myconf="--enable-tcl=module --with-tcl=/usr/lib" \ + || myconf="--enable-tcl=no" + + use perl \ + && myconf="${myconf} --enable-perl=static" \ + || myconf="${myconf} --enable-perl=no" + + use python \ + && myconf="${myconf} --enable-python=static" \ + || myconf="${myconf} --enable-python=no" + + use ssl \ + && myconf="${myconf} --enable-openssl" + + use sdl \ + && myconf="${myconf} --enable-sdl" + + use gnome \ + && myconf="${myconf} --enable-gnome --enable-gdkimlib" + + use opengl \ + && myconf="${myconf} --enable-gtkgl" + + DEBIAN_ENTITY_MAGIC="voodoo" CFLAGS="$CFLAGS -I/usr/X11R6/include" \ + econf \ + --enable-exec-class=yes \ + --enable-gtk=module \ + --enable-c=module \ + --enable-javascript=yes \ + --with-included-njs \ + --enable-csinc \ + ${myconf} || die + + make \ + LDFLAGS="-L/usr/lib/python2.0/config/ -lpython2.0 `python-config --libs`" \ + || die } src_install () { - make DESTDIR=${D} LD_LIBRARY_PATH=${D}/usr/lib install - insinto /usr/share/entity/stembuilder - doins stembuilder/*.e - chmod +x ${D}/usr/share/entity/stembuilder/stembuilder.e - insinto /usr/share/entity/apps - doins apps/*.e - chmod +x ${D}/usr/share/entity/apps/{enview,ev}.e - exeinto /usr/share/entity/examples - doexe examples/*.e - insinto /usr/share/entity/stembuilder/images - doins stembuilder/images/*.xpm + make DESTDIR=${D} LD_LIBRARY_PATH=${D}/usr/lib install || die - dodoc AUTHORS COPYING ChangeLog LICENSE NEWS README TODO - docinto txt - dodoc docs/README* docs/*.txt docs/*.ascii - docinto html - dodoc docs/*.html - docinto print - dodoc docs/*.ps - docinto sgml - dodoc docs/*.sgml -} + insinto /usr/share/entity/stembuilder + doins stembuilder/*.e + chmod +x ${D}/usr/share/entity/stembuilder/stembuilder.e + insinto /usr/share/entity/apps + doins apps/*.e + chmod +x ${D}/usr/share/entity/apps/{enview,ev}.e + exeinto /usr/share/entity/examples + doexe examples/*.e + insinto /usr/share/entity/stembuilder/images + doins stembuilder/images/*.xpm + dodoc AUTHORS COPYING ChangeLog LICENSE NEWS README TODO + docinto txt + dodoc docs/README* docs/*.txt docs/*.ascii + dohtml -r docs + docinto print + dodoc docs/*.ps + docinto sgml + dodoc docs/*.sgml +} diff --git a/dev-lang/entity/entity-0.7.2.ebuild b/dev-lang/entity/entity-0.7.2.ebuild index de147a461f3a..3e72bdef6551 100644 --- a/dev-lang/entity/entity-0.7.2.ebuild +++ b/dev-lang/entity/entity-0.7.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/dev-lang/entity/entity-0.7.2.ebuild,v 1.15 2002/08/01 11:59:01 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/entity/entity-0.7.2.ebuild,v 1.16 2002/08/02 04:40:50 seemant Exp $ S=${WORKDIR}/${P} DESCRIPTION="An XML Framework" @@ -21,74 +21,69 @@ RDEPEND="${DEPEND}" SLOT="0" LICENSE="MIT" -KEYWORD="x86" +KEYWORDS="x86" src_compile() { - local myconf - if [ "`use tcltk`" ] - then - myconf="--enable-tcl=module --with-tcl=/usr/lib" - else - myconf="--enable-tcl=no" - fi - if [ "`use perl`" ] - then - myconf="$myconf --enable-perl=static" - else - myconf="$myconf --enable-perl=no" - fi - if [ "`use python`" ] - then - myconf="$myconf --enable-python=static" - else - myconf="$myconf --enable-python=no" - fi - if [ "`use ssl`" ] - then - myconf="$myconf --enable-openssl" - fi - if [ "`use sdl`" ] - then - myconf="$myconf --enable-sdl" - fi - if [ "`use gnome`" ] - then - myconf="$myconf --enable-gnome --enable-gdkimlib" - fi - if [ "`use opengl`" ] - then - myconf="$myconf --enable-gtkgl" - fi - try DEBIAN_ENTITY_MAGIC="voodoo" CFLAGS="$CFLAGS -I/usr/X11R6/include" ./configure --prefix=/usr --mandir=/usr/share/man --host=${CHOST} \ - --enable-exec-class=yes \ - --enable-gtk=module \ - --enable-c=module $myconf \ - --enable-javascript=yes --with-included-njs --enable-csinc - try make LDFLAGS="-L/usr/lib/python2.0/config/ -lpython2.0 `python-config --libs`" + local myconf + use tcltk \ + && myconf="--enable-tcl=module --with-tcl=/usr/lib" \ + || myconf="--enable-tcl=no" + + use perl \ + && myconf="${myconf} --enable-perl=static" \ + || myconf="${myconf} --enable-perl=no" + + use python \ + && myconf="${myconf} --enable-python=static" \ + || myconf="${myconf} --enable-python=no" + + use ssl \ + && myconf="${myconf} --enable-openssl" + + use sdl \ + && myconf="${myconf} --enable-sdl" + + use gnome \ + && myconf="${myconf} --enable-gnome --enable-gdkimlib" + + use opengl \ + && myconf="${myconf} --enable-gtkgl" + + DEBIAN_ENTITY_MAGIC="voodoo" CFLAGS="$CFLAGS -I/usr/X11R6/include" \ + econf \ + --enable-exec-class=yes \ + --enable-gtk=module \ + --enable-c=module \ + --enable-javascript=yes \ + --with-included-njs \ + --enable-csinc \ + ${myconf} || die + + make \ + LDFLAGS="-L/usr/lib/python2.0/config/ -lpython2.0 `python-config --libs`" \ + || die } src_install () { - make DESTDIR=${D} LD_LIBRARY_PATH=${D}/usr/lib install - insinto /usr/share/entity/stembuilder - doins stembuilder/*.e - chmod +x ${D}/usr/share/entity/stembuilder/stembuilder.e - insinto /usr/share/entity/apps - doins apps/*.e - chmod +x ${D}/usr/share/entity/apps/{enview,ev}.e - exeinto /usr/share/entity/examples - doexe examples/*.e - insinto /usr/share/entity/stembuilder/images - doins stembuilder/images/*.xpm + make DESTDIR=${D} LD_LIBRARY_PATH=${D}/usr/lib install + insinto /usr/share/entity/stembuilder + doins stembuilder/*.e + chmod +x ${D}/usr/share/entity/stembuilder/stembuilder.e + insinto /usr/share/entity/apps + doins apps/*.e + chmod +x ${D}/usr/share/entity/apps/{enview,ev}.e + exeinto /usr/share/entity/examples + doexe examples/*.e + insinto /usr/share/entity/stembuilder/images + doins stembuilder/images/*.xpm - dodoc AUTHORS COPYING ChangeLog LICENSE NEWS README TODO - docinto txt - dodoc docs/README* docs/*.txt docs/*.ascii - docinto html - dodoc docs/*.html - docinto print - dodoc docs/*.ps - docinto sgml - dodoc docs/*.sgml + dodoc AUTHORS COPYING ChangeLog LICENSE NEWS README TODO + docinto txt + dodoc docs/README* docs/*.txt docs/*.ascii + dohtml -r docs + docinto print + dodoc docs/*.ps + docinto sgml + dodoc docs/*.sgml } - |