summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-09-08 02:44:57 +0000
committerMike Frysinger <vapier@gentoo.org>2008-09-08 02:44:57 +0000
commit4d7b78b33770e0267a55cb9460aa049bb2506711 (patch)
treed6def997fedfb2976da9dee07220334917926412 /dev-util/w32api
parentold (diff)
downloadhistorical-4d7b78b33770e0267a55cb9460aa049bb2506711.tar.gz
historical-4d7b78b33770e0267a55cb9460aa049bb2506711.tar.bz2
historical-4d7b78b33770e0267a55cb9460aa049bb2506711.zip
Version bump.
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.26.2 x86_64
Diffstat (limited to 'dev-util/w32api')
-rw-r--r--dev-util/w32api/ChangeLog7
-rw-r--r--dev-util/w32api/Manifest10
-rw-r--r--dev-util/w32api/w32api-3.12.ebuild66
3 files changed, 78 insertions, 5 deletions
diff --git a/dev-util/w32api/ChangeLog b/dev-util/w32api/ChangeLog
index a9abfabdf52c..620e87a969d5 100644
--- a/dev-util/w32api/ChangeLog
+++ b/dev-util/w32api/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/w32api
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/w32api/ChangeLog,v 1.8 2008/07/02 21:47:04 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/w32api/ChangeLog,v 1.9 2008/09/08 02:44:57 vapier Exp $
+
+*w32api-3.12 (08 Sep 2008)
+
+ 08 Sep 2008; Mike Frysinger <vapier@gentoo.org> +w32api-3.12.ebuild:
+ Version bump.
02 Jul 2008; Mike Frysinger <vapier@gentoo.org> w32api-3.11.ebuild:
Workaround portage IUSE deficiencies by adding the expanded
diff --git a/dev-util/w32api/Manifest b/dev-util/w32api/Manifest
index 4160f0974fc9..06b23f7ad375 100644
--- a/dev-util/w32api/Manifest
+++ b/dev-util/w32api/Manifest
@@ -3,13 +3,15 @@ Hash: SHA1
AUX w32api-3.7-DESTDIR.patch 877 RMD160 d742e957f3f2e98f2e3d219593324ee56e0b5a29 SHA1 98f050e760f429b234764c5458287e80943bc4a9 SHA256 d461787c12f0784c88295ffc804847d838343ecf553db4c6467da7b597ea8d59
DIST w32api-3.11-src.tar.gz 1196762 RMD160 6995c5c71c3076ee0fd3f544afc6642dcf0a225f SHA1 6d3cf420c19bc11e010ca0aeb25cd690b2fdc1ac SHA256 852fee2c0aa5cd9ff529c1ba1d28668796c7c3dc959376f6a207a0b178ac5225
+DIST w32api-3.12-mingw32-src.tar.gz 1213522 RMD160 e17793d6cf156fc275ba7b99d1e088e571f42dce SHA1 cfc3683a95326d87153e803b88e133bfc3cbe820 SHA256 b12dcaacc7a58a466797033fd39c6f8bbca7e26519dc8e859eca2915e12858d6
EBUILD w32api-3.11.ebuild 1482 RMD160 d39e8c757fd13b495c1d281cfa0613062434c34a SHA1 d788313482009757ae94243f695eb91c3e5887da SHA256 c6c2c40df8ec59440c982b25c8ebebb36df2a3ad6b5ed7c8600d576b77b10e8b
-MISC ChangeLog 1294 RMD160 c3a541425bff5e8a9e98f2452b86321edce9f524 SHA1 2f1118b337e26132c4481b5e28772f2fac245dea SHA256 70c06c250899944ef8e0e2301682a2020f49972ee51d8a139d5ea777d40607fa
+EBUILD w32api-3.12.ebuild 1527 RMD160 1b7f3cda5dd191895f5609aa31eb75504a8f4a3e SHA1 0fd2bedde78d93f0e5ed5f68f16c63e2ae7853fc SHA256 2d4001d0a3b8a5b6e2653274fdf81f15b13a9cc601ac6e795eddc4a4d24f916a
+MISC ChangeLog 1410 RMD160 5b677693430488cbc8b2c6c180f2e77bbeacf71b SHA1 ae973da0cf140a3bf2ba43ed27950718ca890812 SHA256 6e490382bf50541aef07775bc43f07c6cdd5eab16586084c51643ae792118182
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAkhr948ACgkQ67wieSYcaxcETwCfcKc/lLIz0ScRbpGSEvB1mWhY
-a1gAni2SXHCDdopDMP2mKzTd9DETwy/r
-=+q8d
+iEYEARECAAYFAkjEka8ACgkQ67wieSYcaxdmBQCfeuGNov10O1J8+CSKbF3KH+jP
+RUoAn3a52Pc09KVJMBWa3ABhzZ5shzua
+=BNJx
-----END PGP SIGNATURE-----
diff --git a/dev-util/w32api/w32api-3.12.ebuild b/dev-util/w32api/w32api-3.12.ebuild
new file mode 100644
index 000000000000..d51d5d30265b
--- /dev/null
+++ b/dev-util/w32api/w32api-3.12.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/w32api/w32api-3.12.ebuild,v 1.1 2008/09/08 02:44:57 vapier Exp $
+
+export CBUILD=${CBUILD:-${CHOST}}
+export CTARGET=${CTARGET:-${CHOST}}
+if [[ ${CTARGET} == ${CHOST} ]] ; then
+ if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
+ export CTARGET=${CATEGORY/cross-}
+ fi
+fi
+
+inherit eutils flag-o-matic
+
+MY_P="${P}-mingw32"
+DESCRIPTION="Free Win32 runtime and import library definitions"
+HOMEPAGE="http://www.mingw.org/"
+SRC_URI="mirror://sourceforge/mingw/${MY_P}-src.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE="crosscompile_opts_headers-only"
+RESTRICT="strip"
+
+DEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+just_headers() {
+ use crosscompile_opts_headers-only && [[ ${CHOST} != ${CTARGET} ]]
+}
+
+pkg_setup() {
+ if [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then
+ die "Invalid configuration; do not emerge this directly"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-3.7-DESTDIR.patch
+}
+
+src_compile() {
+ just_headers && return 0
+
+ CHOST=${CTARGET} strip-unsupported-flags
+ econf \
+ --host=${CTARGET} \
+ --prefix=/usr/${CTARGET}/usr \
+ || die
+ emake || die
+}
+
+src_install() {
+ if just_headers ; then
+ insinto /usr/${CTARGET}/usr/include
+ doins -r include/* || die
+ else
+ emake install DESTDIR="${D}" || die
+ env -uRESTRICT CHOST=${CTARGET} prepallstrip
+ dodoc CONTRIBUTIONS ChangeLog README.w32api TODO
+ fi
+}