diff options
-rw-r--r-- | dev-libs/wx-xmingw/ChangeLog | 11 | ||||
-rw-r--r-- | dev-libs/wx-xmingw/Manifest | 14 | ||||
-rw-r--r-- | dev-libs/wx-xmingw/files/digest-wx-xmingw-2.4.2 | 1 | ||||
-rw-r--r-- | dev-libs/wx-xmingw/metadata.xml | 5 | ||||
-rw-r--r-- | dev-libs/wx-xmingw/wx-xmingw-2.4.2.ebuild | 54 |
5 files changed, 85 insertions, 0 deletions
diff --git a/dev-libs/wx-xmingw/ChangeLog b/dev-libs/wx-xmingw/ChangeLog new file mode 100644 index 000000000000..27628ae2343e --- /dev/null +++ b/dev-libs/wx-xmingw/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-libs/wx-xmingw +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/wx-xmingw/ChangeLog,v 1.1 2005/05/18 23:04:38 pythonhead Exp $ + +*wx-xmingw-2.4.2 (18 May 2005) + + 18 May 2005; Rob Cakebread <pythonhead@gentoo.org> +metadata.xml, + +wx-xmingw-2.4.2.ebuild: + Initial commit. Ebuild written by Adrian Smarzewski <adrian@kadu.net>. + Thanks Adrian. bug# 46420 + diff --git a/dev-libs/wx-xmingw/Manifest b/dev-libs/wx-xmingw/Manifest new file mode 100644 index 000000000000..ed07dc890ebd --- /dev/null +++ b/dev-libs/wx-xmingw/Manifest @@ -0,0 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 7e41e8ddb10cb3dceb2883a3c2fc91d7 wx-xmingw-2.4.2.ebuild 1341 +MD5 34a3c9a403196f569f63f0f608007f6e metadata.xml 163 +MD5 596884721a12b42c885c4c64b165ae7c ChangeLog 348 +MD5 f66da5ca87ac90c10f7cc07618c7e082 files/digest-wx-xmingw-2.4.2 65 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFCi8oIHOCQyz1WCXYRAry/AJ41lhYNltfUEfCeOG9dZ8afOTKrAwCgxEy5 +sGhLx2AhNrb9nmbEev/zK3M= +=cy4d +-----END PGP SIGNATURE----- diff --git a/dev-libs/wx-xmingw/files/digest-wx-xmingw-2.4.2 b/dev-libs/wx-xmingw/files/digest-wx-xmingw-2.4.2 new file mode 100644 index 000000000000..1608f9be36e3 --- /dev/null +++ b/dev-libs/wx-xmingw/files/digest-wx-xmingw-2.4.2 @@ -0,0 +1 @@ +MD5 05c2ac572ec07492b3121e3769c2d258 wxAll-2.4.2.tar.gz 12679307 diff --git a/dev-libs/wx-xmingw/metadata.xml b/dev-libs/wx-xmingw/metadata.xml new file mode 100644 index 000000000000..ae688b820375 --- /dev/null +++ b/dev-libs/wx-xmingw/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>wxwindows</herd> +</pkgmetadata> diff --git a/dev-libs/wx-xmingw/wx-xmingw-2.4.2.ebuild b/dev-libs/wx-xmingw/wx-xmingw-2.4.2.ebuild new file mode 100644 index 000000000000..ccf83c033078 --- /dev/null +++ b/dev-libs/wx-xmingw/wx-xmingw-2.4.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/wx-xmingw/wx-xmingw-2.4.2.ebuild,v 1.1 2005/05/18 23:04:39 pythonhead Exp $ + + +DESCRIPTION="Win32 version of wxWidgets for xmingw cross-compiler" +SRC_URI="mirror://sourceforge/wxwindows/wxAll-${PV}.tar.gz" +HOMEPAGE="http://www.wxwidgets.org/" +LICENSE="wxWinLL-3" +SLOT="0" +KEYWORDS="~x86" +IUSE="debug debug_gdb shared threads monolithic mslu unicode opengl odbc" +DEPEND=">=dev-util/xmingw-runtime-3.2 + dev-util/xmingw-w32api + dev-util/xmingw-gcc" +S=${WORKDIR}/wxWindows-${PV} + + +src_compile() { + export PATH="/opt/xmingw/bin:/opt/xmingw/i386-mingw32msvc/bin:$PATH" + export CC="i386-mingw32msvc-gcc" + export CXX="i386-mingw32msvc-g++" + + unset CFLAGS + unset CPPFLAGS + unset CXXFLAGS + unset LDFLAGS + + export CFLAGS="-I/opt/xmingw/i386-mingw32msvc/include" + export CXXFLAGS="-I/opt/xmingw/i386-mingw32msvc/include" + + ./configure \ + --prefix=/opt/xmingw/wxWidgets \ + --host=i386-mingw32msvc \ + --target=i386-mingw32msvc \ + --with-msw \ + `use_enable debug` \ + `use_enable gdb` \ + `use_enable shared` \ + `use_enable threads` \ + `use_enable monolithic` \ + `use_enable mslu` \ + `use_enable unicode` \ + `use_with opengl` \ + `use_with odbc` + + emake || die "make failed" +} + +src_install() { + cd ${WORKDIR}/wxWindows-${PV} + make prefix=${D}/opt/xmingw/wxWidgets install || die "install failed" +} + |