diff options
author | Stefan Jones <cretin@gentoo.org> | 2003-10-02 10:23:38 +0000 |
---|---|---|
committer | Stefan Jones <cretin@gentoo.org> | 2003-10-02 10:23:38 +0000 |
commit | e215a6ad68f0504eca6473c22a52746dd57125ee (patch) | |
tree | 168a53ae38171b0f8233c3a81f6489c6323d8cc4 | |
parent | Bump (diff) | |
download | historical-e215a6ad68f0504eca6473c22a52746dd57125ee.tar.gz historical-e215a6ad68f0504eca6473c22a52746dd57125ee.tar.bz2 historical-e215a6ad68f0504eca6473c22a52746dd57125ee.zip |
New ebuild
-rw-r--r-- | dev-util/xmingw-binutils/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/xmingw-binutils/Manifest | 3 | ||||
-rw-r--r-- | dev-util/xmingw-binutils/files/digest-xmingw-binutils-2.14.90.0.6 | 2 | ||||
-rw-r--r-- | dev-util/xmingw-binutils/xmingw-binutils-2.14.90.0.6.ebuild | 40 | ||||
-rw-r--r-- | dev-util/xmingw-gcc/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/xmingw-gcc/Manifest | 4 | ||||
-rw-r--r-- | dev-util/xmingw-gcc/files/digest-xmingw-gcc-3.3.1 | 4 | ||||
-rw-r--r-- | dev-util/xmingw-gcc/files/gcc-3.3.1-includefix.diff | 21 | ||||
-rw-r--r-- | dev-util/xmingw-gcc/xmingw-gcc-3.3.1.ebuild | 60 | ||||
-rw-r--r-- | dev-util/xmingw-runtime/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/xmingw-runtime/Manifest | 3 | ||||
-rw-r--r-- | dev-util/xmingw-runtime/files/digest-xmingw-runtime-3.1 | 1 | ||||
-rw-r--r-- | dev-util/xmingw-runtime/xmingw-runtime-3.1.ebuild | 40 | ||||
-rw-r--r-- | dev-util/xmingw-w32api/ChangeLog | 8 | ||||
-rw-r--r-- | dev-util/xmingw-w32api/Manifest | 3 | ||||
-rw-r--r-- | dev-util/xmingw-w32api/files/digest-xmingw-w32api-2.4 | 2 | ||||
-rw-r--r-- | dev-util/xmingw-w32api/xmingw-w32api-2.4.ebuild | 41 |
17 files changed, 256 insertions, 0 deletions
diff --git a/dev-util/xmingw-binutils/ChangeLog b/dev-util/xmingw-binutils/ChangeLog new file mode 100644 index 000000000000..cce27ce2834c --- /dev/null +++ b/dev-util/xmingw-binutils/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-util/xmingw-binutils +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-binutils/ChangeLog,v 1.1 2003/10/02 10:15:30 cretin Exp $ + +* xmingw-binutils-2.14.90.0.6 (01 Oct 2003) + + 01 Oct 2003; Stefan Jones <cretin@gentoo.org> : + Initial ebuild diff --git a/dev-util/xmingw-binutils/Manifest b/dev-util/xmingw-binutils/Manifest new file mode 100644 index 000000000000..106e0e763a0f --- /dev/null +++ b/dev-util/xmingw-binutils/Manifest @@ -0,0 +1,3 @@ +MD5 7e0005a3ac1f0f015b3d0fbaf562d04b xmingw-binutils-2.14.90.0.6.ebuild 867 +MD5 2bd53a630cc261f4944d5daac674b3a3 ChangeLog 342 +MD5 f480ae045925666c288f7d7e5e1f2d7a files/digest-xmingw-binutils-2.14.90.0.6 157 diff --git a/dev-util/xmingw-binutils/files/digest-xmingw-binutils-2.14.90.0.6 b/dev-util/xmingw-binutils/files/digest-xmingw-binutils-2.14.90.0.6 new file mode 100644 index 000000000000..be4f5564ec2f --- /dev/null +++ b/dev-util/xmingw-binutils/files/digest-xmingw-binutils-2.14.90.0.6 @@ -0,0 +1,2 @@ +MD5 71b99dba3045a359dc314dbebedcf502 binutils-2.14.90.0.6.tar.bz2 10399066 +MD5 1e7a7868b78e755bdc678bc12e62e461 binutils-2.14.90-20030807-1-src.diff.gz 3033 diff --git a/dev-util/xmingw-binutils/xmingw-binutils-2.14.90.0.6.ebuild b/dev-util/xmingw-binutils/xmingw-binutils-2.14.90.0.6.ebuild new file mode 100644 index 000000000000..b6bc59befd86 --- /dev/null +++ b/dev-util/xmingw-binutils/xmingw-binutils-2.14.90.0.6.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-binutils/xmingw-binutils-2.14.90.0.6.ebuild,v 1.1 2003/10/02 10:15:30 cretin Exp $ + +DESCRIPTION="Tools necessary to build Win32 programs" + +HOMEPAGE="http://sources.redhat.com/binutils/" + +MINGW_PATCH=binutils-2.14.90-20030807-1-src.diff.gz + +P=${P/xmingw-/} + +SRC_URI="mirror://kernel/linux/devel/binutils/${P}.tar.bz2 + mirror://sourceforge/mingw/${MINGW_PATCH}" +LICENSE="GPL-2 | LGPL-2" + +SLOT="0" + +KEYWORDS="x86" + +IUSE="" + +DEPEND="" + +S=${WORKDIR}/${P} + +src_unpack() { + unpack ${P}.tar.bz2 + cd ${S}; gzip -dc ${DISTDIR}/${MINGW_PATCH} | patch -p1 +} + +src_compile() { + ./configure --target=i386-mingw32msvc --prefix=/opt/xmingw || die + + make || die +} + +src_install() { + make DESTDIR=${D} install || die +} diff --git a/dev-util/xmingw-gcc/ChangeLog b/dev-util/xmingw-gcc/ChangeLog new file mode 100644 index 000000000000..e6f5df9fa388 --- /dev/null +++ b/dev-util/xmingw-gcc/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-util/xmingw-gcc +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-gcc/ChangeLog,v 1.1 2003/10/02 10:19:39 cretin Exp $ + +* xmingw-gcc-3.3.1 (01 Oct 2003) + + 01 Oct 2003; Stefan Jones <cretin@gentoo.org> : + Initial ebuild diff --git a/dev-util/xmingw-gcc/Manifest b/dev-util/xmingw-gcc/Manifest new file mode 100644 index 000000000000..b5e024b7f22f --- /dev/null +++ b/dev-util/xmingw-gcc/Manifest @@ -0,0 +1,4 @@ +MD5 799d6c961981e2818fd7d0566535be4a xmingw-gcc-3.3.1.ebuild 1726 +MD5 22bad980f347db2267d2c5de86afc363 ChangeLog 321 +MD5 d71c6facc23b16c6ba56b97cbb4efbf8 files/digest-xmingw-gcc-3.3.1 279 +MD5 f15585878583770a2d6c7d0ce5014264 files/gcc-3.3.1-includefix.diff 798 diff --git a/dev-util/xmingw-gcc/files/digest-xmingw-gcc-3.3.1 b/dev-util/xmingw-gcc/files/digest-xmingw-gcc-3.3.1 new file mode 100644 index 000000000000..978e83cd55e4 --- /dev/null +++ b/dev-util/xmingw-gcc/files/digest-xmingw-gcc-3.3.1 @@ -0,0 +1,4 @@ +MD5 1135a104e9fa36fdf7c663598fab5c40 gcc-3.3.1.tar.bz2 23544362 +MD5 881d91809e79452b593d12b73130913f gcc-3.3.1-20030804-1-src.diff.gz 73048 +MD5 80a8eacd4dcb130bda42c42d35a4e564 mingw-runtime-3.1-src.tar.gz 263369 +MD5 931b25da6223bd72ada13e83443cc6ed w32api-2.4-src.tar.gz 946314 diff --git a/dev-util/xmingw-gcc/files/gcc-3.3.1-includefix.diff b/dev-util/xmingw-gcc/files/gcc-3.3.1-includefix.diff new file mode 100644 index 000000000000..3a90c8ab5212 --- /dev/null +++ b/dev-util/xmingw-gcc/files/gcc-3.3.1-includefix.diff @@ -0,0 +1,21 @@ +Stefan Jones <cretin@gentoo.org>: + Some more include dirs are needed in certain places when bootstraping + a clean system to make g++ + +--- gcc-3.3.1/gcc/config/i386/t-cygming.jj 2003-10-01 21:26:15.614537232 +0100 ++++ gcc-3.3.1/gcc/config/i386/t-cygming 2003-10-01 21:29:59.550493792 +0100 +@@ -8,7 +8,8 @@ + # If we are building next to winsup, this will let us find the real + # limits.h when building libgcc2. Otherwise, winsup must be installed + # first. +-LIBGCC2_INCLUDES = -I$(srcdir)/../winsup/w32api/include ++LIBGCC2_INCLUDES = -I$(srcdir)/../winsup/w32api/include \ ++ -I$(srcdir)/../winsup/cygwin/include + + LIB2FUNCS_EXTRA = $(srcdir)/config/i386/w32-shared-ptr.c + +@@ -19,3 +20,4 @@ + STMP_FIXPROTO= + STMP_FIXINC=stmp-fixinc + ++CRTSTUFF_CFLAGS += -isystem $(srcdir)/../winsup/cygwin/include diff --git a/dev-util/xmingw-gcc/xmingw-gcc-3.3.1.ebuild b/dev-util/xmingw-gcc/xmingw-gcc-3.3.1.ebuild new file mode 100644 index 000000000000..f4b43099be60 --- /dev/null +++ b/dev-util/xmingw-gcc/xmingw-gcc-3.3.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-gcc/xmingw-gcc-3.3.1.ebuild,v 1.1 2003/10/02 10:19:39 cretin Exp $ + +DESCRIPTION="The GNU Compiler Collection - i386-mingw32msvc-gcc only" + +HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html" + +P=${P/xmingw-/} + +MINGW_PATCH=gcc-3.3.1-20030804-1-src.diff.gz +RUNTIME=mingw-runtime-3.1 +W32API=w32api-2.4 + +SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/${P}/${P}.tar.bz2 + mirror://sourceforge/mingw/${MINGW_PATCH} + mirror://sourceforge/mingw/${RUNTIME}-src.tar.gz + mirror://sourceforge/mingw/${W32API}-src.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="x86" +IUSE="" +DEPEND="dev-util/xmingw-binutils" + +S=${WORKDIR}/${P} + +export PATH=$PATH:/opt/xmingw/bin:/opt/xmingw/i386-mingw32msvc/bin +unset CFLAGS CXXFLAGS + +src_unpack() { + unpack ${P}.tar.bz2 + unpack ${RUNTIME}-src.tar.gz + unpack ${W32API}-src.tar.gz + cd ${S}; gzip -dc ${DISTDIR}/${MINGW_PATCH} | patch -p1 + patch -p1 < ${FILESDIR}/gcc-3.3.1-includefix.diff + + mkdir -p ${S}/winsup/cygwin ${S}/winsup/w32api + cd ${S}/winsup/cygwin;ln -s ${WORKDIR}/${RUNTIME}/include . + cd ${S}/winsup/w32api;ln -s ${WORKDIR}/${W32API}/include . +} + +src_compile() { + cd ${S} + if has_version dev-util/xmingw-runtime \ + && has_version dev-util/xmingw-w32api + then + lang=c,c++ + else + lang=c + fi + + ./configure --target=i386-mingw32msvc --prefix=/opt/xmingw --enable-languages=${lang} --disable-shared --disable-nls --enable-threads --with-gcc --with-gnu-ld --with-gnu-as --disable-win32-registry --enable-sjlj-exceptions --without-x --without-newlib || die + + make || die +} + +src_install() { + make DESTDIR=${D} install || die +} diff --git a/dev-util/xmingw-runtime/ChangeLog b/dev-util/xmingw-runtime/ChangeLog new file mode 100644 index 000000000000..68a39ffc7fd5 --- /dev/null +++ b/dev-util/xmingw-runtime/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-util/xmingw-runtime +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-runtime/ChangeLog,v 1.1 2003/10/02 10:23:31 cretin Exp $ + +* xmingw-runtime-3.1 (01 Oct 2003) + + 01 Oct 2003; Stefan Jones <cretin@gentoo.org> : + Initial ebuild diff --git a/dev-util/xmingw-runtime/Manifest b/dev-util/xmingw-runtime/Manifest new file mode 100644 index 000000000000..9e6a64b83576 --- /dev/null +++ b/dev-util/xmingw-runtime/Manifest @@ -0,0 +1,3 @@ +MD5 abe0333467ab4f1702521a46d6eb691d xmingw-runtime-3.1.ebuild 1121 +MD5 d0fbee26c8ee441f6bb1ca91f8b34894 ChangeLog 331 +MD5 0bf594664e153558e3592a90a513a1f1 files/digest-xmingw-runtime-3.1 73 diff --git a/dev-util/xmingw-runtime/files/digest-xmingw-runtime-3.1 b/dev-util/xmingw-runtime/files/digest-xmingw-runtime-3.1 new file mode 100644 index 000000000000..a3dbc506e0c4 --- /dev/null +++ b/dev-util/xmingw-runtime/files/digest-xmingw-runtime-3.1 @@ -0,0 +1 @@ +MD5 80a8eacd4dcb130bda42c42d35a4e564 mingw-runtime-3.1-src.tar.gz 263369 diff --git a/dev-util/xmingw-runtime/xmingw-runtime-3.1.ebuild b/dev-util/xmingw-runtime/xmingw-runtime-3.1.ebuild new file mode 100644 index 000000000000..3978fee1d05c --- /dev/null +++ b/dev-util/xmingw-runtime/xmingw-runtime-3.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-runtime/xmingw-runtime-3.1.ebuild,v 1.1 2003/10/02 10:23:31 cretin Exp $ + +DESCRIPTION="Free Win32 runtime and import library definitions" + +HOMEPAGE="http://www.mingw.org" + +P=${P/xming/ming} + +SRC_URI="mirror://sourceforge/mingw/${P}-src.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="x86" +IUSE="" +DEPEND="dev-util/xmingw-binutils + dev-util/xmingw-gcc + dev-util/xmingw-w32api" + +S=${WORKDIR}/${P} + +export PATH=$PATH:/opt/xmingw/bin:/opt/xmingw/i386-mingw32msvc/bin +unset CFLAGS CXXFLAGS + +src_unpack() { + unpack ${P}-src.tar.gz +} + +src_compile() { + RANLIB=i386-mingw32msvc-ranlib AR=i386-mingw32msvc-ar AS=i386-mingw32msvc-as CC=i386-mingw32msvc-gcc ./configure --target=i386-mingw32msvc --prefix=/opt/mingw32/i386-mingw32msvc + cd mingwex + make W32API_INCLUDE=-I/opt/xmingw/i386-mingw32msvc/include || die + cd .. + make W32API_INCLUDE=-I/opt/xmingw/i386-mingw32msvc/include || die +} + +src_install() { + make install prefix=${D}/opt/xmingw/i386-mingw32msvc || die +} diff --git a/dev-util/xmingw-w32api/ChangeLog b/dev-util/xmingw-w32api/ChangeLog new file mode 100644 index 000000000000..0a915661f37a --- /dev/null +++ b/dev-util/xmingw-w32api/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for dev-util/xmingw-w32api +# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-w32api/ChangeLog,v 1.1 2003/10/02 10:22:06 cretin Exp $ + +* xmingw-w32api-2.4 (01 Oct 2003) + + 01 Oct 2003; Stefan Jones <cretin@gentoo.org> : + Initial ebuild diff --git a/dev-util/xmingw-w32api/Manifest b/dev-util/xmingw-w32api/Manifest new file mode 100644 index 000000000000..8de02de384ff --- /dev/null +++ b/dev-util/xmingw-w32api/Manifest @@ -0,0 +1,3 @@ +MD5 be52099d2aefc200c15244b83406f7ad xmingw-w32api-2.4.ebuild 1127 +MD5 a068faa0167429b95dfb63b4fe219757 ChangeLog 328 +MD5 547751e92aa4699fb1358c600a5d0884 files/digest-xmingw-w32api-2.4 139 diff --git a/dev-util/xmingw-w32api/files/digest-xmingw-w32api-2.4 b/dev-util/xmingw-w32api/files/digest-xmingw-w32api-2.4 new file mode 100644 index 000000000000..d4426c6374e7 --- /dev/null +++ b/dev-util/xmingw-w32api/files/digest-xmingw-w32api-2.4 @@ -0,0 +1,2 @@ +MD5 80a8eacd4dcb130bda42c42d35a4e564 mingw-runtime-3.1-src.tar.gz 263369 +MD5 931b25da6223bd72ada13e83443cc6ed w32api-2.4-src.tar.gz 946314 diff --git a/dev-util/xmingw-w32api/xmingw-w32api-2.4.ebuild b/dev-util/xmingw-w32api/xmingw-w32api-2.4.ebuild new file mode 100644 index 000000000000..cdc51b3d70a1 --- /dev/null +++ b/dev-util/xmingw-w32api/xmingw-w32api-2.4.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/xmingw-w32api/xmingw-w32api-2.4.ebuild,v 1.1 2003/10/02 10:22:06 cretin Exp $ + +DESCRIPTION="Free headers and libraries for the Win32 API" + +HOMEPAGE="http://www.mingw.org" + +P=${P/xmingw-} +RUNTIME=mingw-runtime-3.1 + +SRC_URI="mirror://sourceforge/mingw/${RUNTIME}-src.tar.gz + mirror://sourceforge/mingw/${P}-src.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="x86" +IUSE="" +DEPEND="dev-util/xmingw-binutils + dev-util/xmingw-gcc" + +S=${WORKDIR}/${P} + +export PATH=$PATH:/opt/xmingw/bin:/opt/xmingw/i386-mingw32msvc/bin +unset CFLAGS CXXFLAGS + +src_unpack() { + unpack ${RUNTIME}-src.tar.gz + unpack ${P}-src.tar.gz + ln -s ${P} w32api + ln -s ${RUNTIME} mingw +} + +src_compile() { + RANLIB=i386-mingw32msvc-ranlib AR=i386-mingw32msvc-ar AS=i386-mingw32msvc-as CC=i386-mingw32msvc-gcc ./configure --target=i386-mingw32msvc --prefix=/opt/xmingw/i386-mingw32msvc --build=i386-mingw32msvc || die + make || die +} + +src_install() { + make install prefix=${D}/opt/xmingw/i386-mingw32msvc || die +} |