diff options
author | Bryan Østergaard <kloeri@gentoo.org> | 2004-12-11 17:32:21 +0000 |
---|---|---|
committer | Bryan Østergaard <kloeri@gentoo.org> | 2004-12-11 17:32:21 +0000 |
commit | 7a4f5aececbdc43b411fbac5b5d74d007280948f (patch) | |
tree | 9ce6c04b75a7c9856d2b8978f77c59abcc228d74 | |
parent | Added ${arch} to bjam path (Manifest recommit) (diff) | |
download | gentoo-2-7a4f5aececbdc43b411fbac5b5d74d007280948f.tar.gz gentoo-2-7a4f5aececbdc43b411fbac5b5d74d007280948f.tar.bz2 gentoo-2-7a4f5aececbdc43b411fbac5b5d74d007280948f.zip |
Initial import. ebuild by Fernando Serboncini in bug 31998.
-rw-r--r-- | x11-libs/wxmozilla/ChangeLog | 10 | ||||
-rw-r--r-- | x11-libs/wxmozilla/Manifest | 2 | ||||
-rw-r--r-- | x11-libs/wxmozilla/files/digest-wxmozilla-0.5.3 | 1 | ||||
-rw-r--r-- | x11-libs/wxmozilla/metadata.xml | 7 | ||||
-rw-r--r-- | x11-libs/wxmozilla/wxmozilla-0.5.3.ebuild | 60 |
5 files changed, 80 insertions, 0 deletions
diff --git a/x11-libs/wxmozilla/ChangeLog b/x11-libs/wxmozilla/ChangeLog new file mode 100644 index 000000000000..030b81e1de4f --- /dev/null +++ b/x11-libs/wxmozilla/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for x11-libs/wxmozilla +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxmozilla/ChangeLog,v 1.1 2004/12/11 17:32:21 kloeri Exp $ + +*wxmozilla-0.5.3 (11 Dec 2004) + + 11 Dec 2004; Bryan Østergaard <kloeri@gentoo.org> +metadata.xml, + +wxmozilla-0.5.3.ebuild: + Initial import. ebuild by Fernando Serboncini in bug 31998. + diff --git a/x11-libs/wxmozilla/Manifest b/x11-libs/wxmozilla/Manifest new file mode 100644 index 000000000000..2e471bee1416 --- /dev/null +++ b/x11-libs/wxmozilla/Manifest @@ -0,0 +1,2 @@ +MD5 2ed7f96ea379a42f88b03d81ae6bfdbd wxmozilla-0.5.3.ebuild 1426 +MD5 cd769d652989e37dddd923b336b2fbb3 files/digest-wxmozilla-0.5.3 67 diff --git a/x11-libs/wxmozilla/files/digest-wxmozilla-0.5.3 b/x11-libs/wxmozilla/files/digest-wxmozilla-0.5.3 new file mode 100644 index 000000000000..763cdf0b835f --- /dev/null +++ b/x11-libs/wxmozilla/files/digest-wxmozilla-0.5.3 @@ -0,0 +1 @@ +MD5 c353300bfd1f45e1fa3e413cdbdd48d2 wxmozilla-0.5.3.tar.gz 327374 diff --git a/x11-libs/wxmozilla/metadata.xml b/x11-libs/wxmozilla/metadata.xml new file mode 100644 index 000000000000..9fedb25c7901 --- /dev/null +++ b/x11-libs/wxmozilla/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer><email>fserb@terra.com.br</email></maintainer> +<maintainer><email>kloeri@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/x11-libs/wxmozilla/wxmozilla-0.5.3.ebuild b/x11-libs/wxmozilla/wxmozilla-0.5.3.ebuild new file mode 100644 index 000000000000..b5ada4f76739 --- /dev/null +++ b/x11-libs/wxmozilla/wxmozilla-0.5.3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/wxmozilla/wxmozilla-0.5.3.ebuild,v 1.1 2004/12/11 17:32:21 kloeri Exp $ + +inherit eutils libtool + +IUSE="python doc" + +DESCRIPTION="Mozilla widget for wxWindows" +SRC_URI="mirror://sourceforge/wxmozilla/${P}.tar.gz" +HOMEPAGE="http://wxmozilla.sourceforge.net/" + +DEPEND=">=mozilla-1.3 + python? ( dev-lang/python >=dev-python/wxpython-2.4 ) + >=x11-libs/wxGTK-2.4" + +SLOT="0" +LICENSE="wxWinLL-3" +KEYWORDS="~x86" + +pkg_setup() { + # make sure gtk{1,2} setting of Mozilla and wxGTK is same + if built_with_use net-www/mozilla gtk2; then + tk_mozilla="gtk2" + else + tk_mozilla="gtk1" + fi + if built_with_use x11-libs/wxGTK gtk2; then + tk_wxgtk="gtk2" + else + tk_wxgtk="gtk1" + fi + + if [ $tk_mozilla != $tk_wxgtk ]; then + eerror "You need x11-libs/wxGTK and net-www/mozilla compiled with same GTK+ version." + eerror "Emerge both either with or without 'gtk2' in your USE flags." + eerror "wxGTK toolkit: $tk_wxgtk" + eerror "Mozilla toolkit: $tk_mozilla" + die "wxGTK and Mozilla must use same major GTK+ version" + fi +} + +src_compile() { + elibtoolize + econf `use_enable python` || die "configure failed" + emake || die "make failed" +} + +src_install() { + make install DESTDIR=${D} || die "install failed" + + if use doc; then + insinto /usr/share/doc/${PF} + exeinto /usr/share/doc/${PF} + doins README + newins demo/main.cpp example.cpp + doexe demo/wxMozillaDemo + doins wxPython/demo/*.py + fi +} |