summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-10-06 22:37:08 +0000
committerMike Frysinger <vapier@gentoo.org>2007-10-06 22:37:08 +0000
commit267a3ab5d1037a157eff077c0c8913c62fa9423f (patch)
tree264142fc8d46b401f542068ecaa5cb89941a582b /dev-util
parentstable x86, bug 177209 (diff)
downloadhistorical-267a3ab5d1037a157eff077c0c8913c62fa9423f.tar.gz
historical-267a3ab5d1037a157eff077c0c8913c62fa9423f.tar.bz2
historical-267a3ab5d1037a157eff077c0c8913c62fa9423f.zip
Version bump #192642 by Dennis Schridde.
Package-Manager: portage-2.1.3.11
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/mingw-runtime/Manifest64
-rw-r--r--dev-util/w32api/ChangeLog7
-rw-r--r--dev-util/w32api/Manifest24
-rw-r--r--dev-util/w32api/files/digest-w32api-3.103
-rw-r--r--dev-util/w32api/w32api-3.10.ebuild63
5 files changed, 104 insertions, 57 deletions
diff --git a/dev-util/mingw-runtime/Manifest b/dev-util/mingw-runtime/Manifest
index 29028d59a775..8c97e6d70f27 100644
--- a/dev-util/mingw-runtime/Manifest
+++ b/dev-util/mingw-runtime/Manifest
@@ -1,70 +1,38 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-AUX mingw-runtime-3.11-include.patch 1276 RMD160 9f209a7718b4d1ae6fa39dd762b1e7187b074879 SHA1 06f8c4caabcc34077f9cac29c7b49e0f2a83661c SHA256 c927c8c703c2d1a20409bea5ad30d7726d1f6143ca8552f9d40576bd0610be08
-MD5 b721e309fffb8e384f0d912c84b5553a files/mingw-runtime-3.11-include.patch 1276
-RMD160 9f209a7718b4d1ae6fa39dd762b1e7187b074879 files/mingw-runtime-3.11-include.patch 1276
-SHA256 c927c8c703c2d1a20409bea5ad30d7726d1f6143ca8552f9d40576bd0610be08 files/mingw-runtime-3.11-include.patch 1276
AUX mingw-runtime-3.12-DESTDIR.patch 609 RMD160 d64942d6ba3bb2fe378d762c7683b6b7e0373c65 SHA1 6c356b6d0920025b27ac92bc9336588f12b03030 SHA256 c61186b9d87087bd91d591aae84497b1a640df799b6b7cca2e858f8617a51ff6
MD5 b407b10e303e8b2e34121640a6bf5787 files/mingw-runtime-3.12-DESTDIR.patch 609
RMD160 d64942d6ba3bb2fe378d762c7683b6b7e0373c65 files/mingw-runtime-3.12-DESTDIR.patch 609
SHA256 c61186b9d87087bd91d591aae84497b1a640df799b6b7cca2e858f8617a51ff6 files/mingw-runtime-3.12-DESTDIR.patch 609
-AUX mingw-runtime-3.9-DESTDIR.patch 1004 RMD160 35dbaf28bccb18d6472e2af73ccc8925091751dc SHA1 ba5a6d82aed1c72cf8ce0a0a2b216405a697d20f SHA256 0bb79aaff724272a3642ae83a1c42da95226e63f502f6de9a629d9330a06cd48
-MD5 d9c9d95f6e4735b1210b17a59ffc453d files/mingw-runtime-3.9-DESTDIR.patch 1004
-RMD160 35dbaf28bccb18d6472e2af73ccc8925091751dc files/mingw-runtime-3.9-DESTDIR.patch 1004
-SHA256 0bb79aaff724272a3642ae83a1c42da95226e63f502f6de9a629d9330a06cd48 files/mingw-runtime-3.9-DESTDIR.patch 1004
-DIST mingw-runtime-3.10-src.tar.gz 338373 RMD160 b8c20dfec6f188a50a51a7fd2c4c3a1228554daa SHA1 c01496252895fa3e37e93ac4fc7b5332fa6e2245 SHA256 eefa03102b49a529c7fa30a531487ded69ac57384ae3a0f07fd0a24af5c9ea2d
-DIST mingw-runtime-3.11-20061202-1-src.tar.gz 378049 RMD160 b38d4301f7a590d45e38c1cb78000bfca9d25fea SHA1 3e4386eede55ecccfc1644a084b5d221244ef859 SHA256 19471fe1f8a54db8bbf4ae8aa0ba8822d80d9f77a125abac1410670532cba461
-DIST mingw-runtime-3.11-src.tar.gz 363078 RMD160 808672cd11daadd408d90b3e3ad337329b57ca9e SHA1 bc0be2721986778fd43e572b8fe6dcffbf87bbc1 SHA256 77457528f0682a3e22c02375dd1ff80042288e75653f66995001a5b94811c3c8
DIST mingw-runtime-3.12-src.tar.gz 386213 RMD160 c9079d8cf5cb17e551aec0109cf6c57b22e0f5b7 SHA1 2bf698ca17243b08c3432bd88852d8f6bad677ec SHA256 f366a1fdd2cde7b1ba2a624b0557bf24bab695d0e322823d28e393e7f7b43cc4
-DIST mingw-runtime-3.9-src.tar.gz 301241 RMD160 b50c14fb566f94a9eee40cc2e716c67aa8bece29 SHA1 e324d7afa3bdff5069eb44ad09051a8fda5f54b0 SHA256 e3b1aaa2405a8aa5dbbd2eb0e286c03dcb6e0b9ad6c0f8b64ea02dc3bd3470fc
-EBUILD mingw-runtime-3.10.ebuild 2063 RMD160 4a7acc122e71eb256fcc1eb97a3c162e543748cc SHA1 ec300a08605d8610d0a4b35fb596cf9bfcb819ae SHA256 d1061f0ac821621f28599a03ff50e87fdfaa33b3983d78f0c282a030810c9009
-MD5 6fcdd87031f17e1352feb30cbe719cf3 mingw-runtime-3.10.ebuild 2063
-RMD160 4a7acc122e71eb256fcc1eb97a3c162e543748cc mingw-runtime-3.10.ebuild 2063
-SHA256 d1061f0ac821621f28599a03ff50e87fdfaa33b3983d78f0c282a030810c9009 mingw-runtime-3.10.ebuild 2063
-EBUILD mingw-runtime-3.11.ebuild 2063 RMD160 250acb2d94b08245c603f47178887a28a89ab378 SHA1 78a0478eb00b63cd9ffeebe7d4e2bbfcc7de24db SHA256 bc2e335622115dd62926dad19d30ffdc8c6e5a69de7d8afc0b0f211712861b3a
-MD5 89e189fc8d9e7ab43260c66b0d71267f mingw-runtime-3.11.ebuild 2063
-RMD160 250acb2d94b08245c603f47178887a28a89ab378 mingw-runtime-3.11.ebuild 2063
-SHA256 bc2e335622115dd62926dad19d30ffdc8c6e5a69de7d8afc0b0f211712861b3a mingw-runtime-3.11.ebuild 2063
-EBUILD mingw-runtime-3.11_p20061202.ebuild 2172 RMD160 82d211e7e7b02d681d6a2beadcc0d2f1d6f858ab SHA1 ee2ddd390e752565c13e598a7fc305ce92bed86f SHA256 be8c8c8cefdc4d5e9f1b4fe18b20ba7c15fb53ea9a33f1fdba61b6d61360e4ff
-MD5 fb03996c0f7fac32c26c22c40d6556d1 mingw-runtime-3.11_p20061202.ebuild 2172
-RMD160 82d211e7e7b02d681d6a2beadcc0d2f1d6f858ab mingw-runtime-3.11_p20061202.ebuild 2172
-SHA256 be8c8c8cefdc4d5e9f1b4fe18b20ba7c15fb53ea9a33f1fdba61b6d61360e4ff mingw-runtime-3.11_p20061202.ebuild 2172
+DIST mingw-runtime-3.13-src.tar.gz 395628 RMD160 348045366b65fb3a6288d5ec70dbd419de5540ed SHA1 1dfabe05cc13158d212872d981172cf332a19d8c SHA256 6f671eae71cbcb26d86943bc981f65ab3b4d330f0318c97164e9be923d005519
EBUILD mingw-runtime-3.12.ebuild 2130 RMD160 b29d884de2353ab6cf07c7b46d6a25f7908100e8 SHA1 d51dcac5a3516fca04cf22c9225457bac416ec01 SHA256 b934c79083af2fda91aae9c021311735c8e6a052f58f4e05ae2066f14739b295
MD5 c4e18cb5db0df5a46f9a3a021bbf8cce mingw-runtime-3.12.ebuild 2130
RMD160 b29d884de2353ab6cf07c7b46d6a25f7908100e8 mingw-runtime-3.12.ebuild 2130
SHA256 b934c79083af2fda91aae9c021311735c8e6a052f58f4e05ae2066f14739b295 mingw-runtime-3.12.ebuild 2130
-EBUILD mingw-runtime-3.9.ebuild 1815 RMD160 63bf1926510613b6701338af30575b201bc86860 SHA1 590f2d3e7ec9932bb2bb1f45c87c06eb736ffcb9 SHA256 a92ed6b2f8532f7f17f4d3368f385ee42670dc575116a6820b86cf7ae2cb6359
-MD5 f438a9dab025119c5c81b137fae29da2 mingw-runtime-3.9.ebuild 1815
-RMD160 63bf1926510613b6701338af30575b201bc86860 mingw-runtime-3.9.ebuild 1815
-SHA256 a92ed6b2f8532f7f17f4d3368f385ee42670dc575116a6820b86cf7ae2cb6359 mingw-runtime-3.9.ebuild 1815
-MISC ChangeLog 1546 RMD160 9fa8b6cfd15521f87c7a07cb2e98a50ac4966cf0 SHA1 1180b55a5cf97e7c524363e19e5ad124398abb86 SHA256 6cc23c942655da793e9ad15025214094169cc9bbc02201c630b79c47c42168f5
-MD5 b812e9905a9daea89c33c7edfd3cbe57 ChangeLog 1546
-RMD160 9fa8b6cfd15521f87c7a07cb2e98a50ac4966cf0 ChangeLog 1546
-SHA256 6cc23c942655da793e9ad15025214094169cc9bbc02201c630b79c47c42168f5 ChangeLog 1546
+EBUILD mingw-runtime-3.13.ebuild 2130 RMD160 4b6b3a4dbc4c181a6a0f1390c2938cc539891f05 SHA1 8efa1788fe83a99164152f8fe33bae76bafbcba2 SHA256 152e067a91c768cb43a4889bea1de66d6bf7aa79f5c0cb5806a87981459a351d
+MD5 b1a744620d7d815dbd3bcdcf22d7c9df mingw-runtime-3.13.ebuild 2130
+RMD160 4b6b3a4dbc4c181a6a0f1390c2938cc539891f05 mingw-runtime-3.13.ebuild 2130
+SHA256 152e067a91c768cb43a4889bea1de66d6bf7aa79f5c0cb5806a87981459a351d mingw-runtime-3.13.ebuild 2130
+MISC ChangeLog 1706 RMD160 77b2b81b97e7396804b9cfa94be3542e53710fd4 SHA1 37ae384f4e829c6a9ac4ffdf6ed5c771f15ce54f SHA256 784012db603b2c70989a68320cc5540c86b9eaa7818994fea347d8290e7eb736
+MD5 9d6ad5a1f34fbf19bab3419c7f3a327a ChangeLog 1706
+RMD160 77b2b81b97e7396804b9cfa94be3542e53710fd4 ChangeLog 1706
+SHA256 784012db603b2c70989a68320cc5540c86b9eaa7818994fea347d8290e7eb736 ChangeLog 1706
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
RMD160 d002486a43522f2116b1d9d59828c484956d66e2 metadata.xml 162
SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a metadata.xml 162
-MD5 25bee3d9b6c2a48a4172a4b5905a58c8 files/digest-mingw-runtime-3.10 268
-RMD160 ed51469b765a19b2d78f39b0b3fc6dbb52517413 files/digest-mingw-runtime-3.10 268
-SHA256 1a53e3a7535b33e61513c1c7b825de437a7c18e3a133a93d6569400c14d830e7 files/digest-mingw-runtime-3.10 268
-MD5 009c5ab771c0b28f273f7f8eff03fe1a files/digest-mingw-runtime-3.11 268
-RMD160 238c16e1ffdbf54f3230164f2058d39974202c73 files/digest-mingw-runtime-3.11 268
-SHA256 aa39f004244193c84e9a263acda67242fcf285c9b60b4f99d13bb1da2136c44a files/digest-mingw-runtime-3.11 268
-MD5 fa1937b2d08719dfdd3148bad9635783 files/digest-mingw-runtime-3.11_p20061202 301
-RMD160 2ce849fd3b74af1dd0c42bee6c704cc7c311f0e2 files/digest-mingw-runtime-3.11_p20061202 301
-SHA256 459688cc7476329add9717765e467460bbe33ea29ed915b080f52c6590667036 files/digest-mingw-runtime-3.11_p20061202 301
MD5 4bed99fd27acc090ef86158b3ca50d34 files/digest-mingw-runtime-3.12 268
RMD160 1e6e98dba255efe375c826d0ccc1d5b806b66b0a files/digest-mingw-runtime-3.12 268
SHA256 44a5626b31c0745b81ad8d86eea10f5aba01b2a89a5a8aeb21a280b3366be938 files/digest-mingw-runtime-3.12 268
-MD5 04e91ddce8a3d6d49718a360d094f88d files/digest-mingw-runtime-3.9 265
-RMD160 b22798b7f18ee32d2789c297f9154d8e2fea5891 files/digest-mingw-runtime-3.9 265
-SHA256 cfd69ae054434425d59eed64b731441c2c4aeea16d8a5eca4b3b26bc1717afcc files/digest-mingw-runtime-3.9 265
+MD5 45f9b4f3f3b13654a224c11c751b71fc files/digest-mingw-runtime-3.13 268
+RMD160 7ad6a140afed0e5c49f628c33a7acc47f57103df files/digest-mingw-runtime-3.13 268
+SHA256 6c2e01e948b7a8b401a9b836fd4719114300ba8c976ed3a06768f3c0b6b54259 files/digest-mingw-runtime-3.13 268
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.4 (GNU/Linux)
+Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFGfrE7ppoStNGKGywRAsTCAJ0XbA/LWRxdFHBLRjVsDWFi5oV0OgCdEEgy
-3nX5fAI9CT8BUp/ufbQ/Tys=
-=lD4T
+iD8DBQFHCA6vp/wUKkr7RBoRApPSAJ41ov0r+CQiNdkoWGM2F02+rIYZRQCeMt0z
+HqRcaM5saQlQOjcuT68sp1A=
+=+cjP
-----END PGP SIGNATURE-----
diff --git a/dev-util/w32api/ChangeLog b/dev-util/w32api/ChangeLog
index 7b5d2707a3c7..984637e49c3e 100644
--- a/dev-util/w32api/ChangeLog
+++ b/dev-util/w32api/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/w32api
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/w32api/ChangeLog,v 1.5 2007/04/02 23:18:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/w32api/ChangeLog,v 1.6 2007/10/06 22:37:07 vapier Exp $
+
+*w32api-3.10 (06 Oct 2007)
+
+ 06 Oct 2007; Mike Frysinger <vapier@gentoo.org> +w32api-3.10.ebuild:
+ Version bump #192642 by Dennis Schridde.
*w32api-3.9 (02 Apr 2007)
diff --git a/dev-util/w32api/Manifest b/dev-util/w32api/Manifest
index f8c11505ec00..aadf236ab10d 100644
--- a/dev-util/w32api/Manifest
+++ b/dev-util/w32api/Manifest
@@ -5,26 +5,34 @@ AUX w32api-3.7-DESTDIR.patch 877 RMD160 d742e957f3f2e98f2e3d219593324ee56e0b5a29
MD5 9b20c4d6f6acc3a456adeaff1ae6d85f files/w32api-3.7-DESTDIR.patch 877
RMD160 d742e957f3f2e98f2e3d219593324ee56e0b5a29 files/w32api-3.7-DESTDIR.patch 877
SHA256 d461787c12f0784c88295ffc804847d838343ecf553db4c6467da7b597ea8d59 files/w32api-3.7-DESTDIR.patch 877
+DIST w32api-3.10-src.tar.gz 1193265 RMD160 948111036efee44a12dbeffd6489aaf94be01ecb SHA1 b9561575f08460b446cf480cf6531408f266a68c SHA256 3bf16681f6566c63bffcc84b7cce2f06071515bfef67cdb5530a105fa7fbefa5
DIST w32api-3.9-src.tar.gz 1192048 RMD160 a0c674c91ca7be2d0bd019e7ac77d4750b884665 SHA1 623e73444f9826e90ba8fb1325a54f233ec90644 SHA256 6f4d5dff0d3de31f566592afb34c572455227e45100e9e7f647cc5d16eacb661
+EBUILD w32api-3.10.ebuild 1452 RMD160 553471a80d6f61a0f4a650ed889617c74bb33053 SHA1 6e9e449be92151b397f74ae7c959e0cb47ebcd27 SHA256 ea74b50cdc4083772118ff32b003a7da897d5c1826a680a46d824d969759b3e5
+MD5 aea8874d5ccb6c273f2437a2dd71b200 w32api-3.10.ebuild 1452
+RMD160 553471a80d6f61a0f4a650ed889617c74bb33053 w32api-3.10.ebuild 1452
+SHA256 ea74b50cdc4083772118ff32b003a7da897d5c1826a680a46d824d969759b3e5 w32api-3.10.ebuild 1452
EBUILD w32api-3.9.ebuild 1451 RMD160 95f53fc9abb758e939979afc984f99192f450301 SHA1 ecbced31d7c0cd04e796e83d05fa1413de133110 SHA256 037d27a79f62070cf85802570a088cb4c4dced3ba40dde4d757dd66c7adea470
MD5 33495d1a9f4ef276a57edbefc2d10c61 w32api-3.9.ebuild 1451
RMD160 95f53fc9abb758e939979afc984f99192f450301 w32api-3.9.ebuild 1451
SHA256 037d27a79f62070cf85802570a088cb4c4dced3ba40dde4d757dd66c7adea470 w32api-3.9.ebuild 1451
-MISC ChangeLog 854 RMD160 856565924565483266d1d296b89449ae9f768c2c SHA1 f8d971b456dddd95f7be27acfdfc1f8df1f44321 SHA256 8fa2aa87e1058aed05582b1a1561ce80e48f5f8af733fd3126fdd331f8791cf3
-MD5 8f7d59987934fd6ae65cd587b643ebdb ChangeLog 854
-RMD160 856565924565483266d1d296b89449ae9f768c2c ChangeLog 854
-SHA256 8fa2aa87e1058aed05582b1a1561ce80e48f5f8af733fd3126fdd331f8791cf3 ChangeLog 854
+MISC ChangeLog 997 RMD160 a6fb353c41df26ce90770e633deb108951f151e7 SHA1 d0df4259bbf4ef7616ca94f558cbd3e2a7dcdc2c SHA256 c4294248c6c7759bc9940f6df35bf0d51f7d58770242903f35432014e394e40e
+MD5 77f9b3d6f3e58f850d796854819cce35 ChangeLog 997
+RMD160 a6fb353c41df26ce90770e633deb108951f151e7 ChangeLog 997
+SHA256 c4294248c6c7759bc9940f6df35bf0d51f7d58770242903f35432014e394e40e ChangeLog 997
MISC metadata.xml 162 RMD160 d002486a43522f2116b1d9d59828c484956d66e2 SHA1 d6b4923897f6ae673b4f93646f5b4ba61d5a2c3c SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a
MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
RMD160 d002486a43522f2116b1d9d59828c484956d66e2 metadata.xml 162
SHA256 65a915d44de1f01d4b7f72d313b4192c38374a9835d24988c00c1e73dca5805a metadata.xml 162
+MD5 eac3fb02796df5cdacdc24297e182d1d files/digest-w32api-3.10 250
+RMD160 8b4b51488c7164bc34dfedb243538fccbd8a662b files/digest-w32api-3.10 250
+SHA256 1252d576405cf02356488ce2a7c023ff3233270d3a937c6ef4a434474d6d29c3 files/digest-w32api-3.10 250
MD5 6a419dc2b46a6bfa12084e1ed6059cad files/digest-w32api-3.9 247
RMD160 a6fd770c28501ed8ae0594de9dd85d9ecd8213f4 files/digest-w32api-3.9 247
SHA256 6510c4ade4d67b21fa83b772fea5db2b64fb595b712fbf5108c5b237af026f2d files/digest-w32api-3.9 247
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.3 (GNU/Linux)
+Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFGORuA8bi6rjpTunYRAokhAJ0X/GOqNSgF40NGnxF1fQms+jNtswCgglL3
-HdBCeIYsTAvUO/c8m+G7lvc=
-=LOYb
+iD8DBQFHCA4Zp/wUKkr7RBoRAgc8AJ9fUX+QQYVvL751xS9Zt6S3B9io8ACgjxk5
++H3y8wP9zy9oHhdb0RslErk=
+=L6T5
-----END PGP SIGNATURE-----
diff --git a/dev-util/w32api/files/digest-w32api-3.10 b/dev-util/w32api/files/digest-w32api-3.10
new file mode 100644
index 000000000000..3dbad2f86b5b
--- /dev/null
+++ b/dev-util/w32api/files/digest-w32api-3.10
@@ -0,0 +1,3 @@
+MD5 1323a47f1f0d9f44b12a20abedda4017 w32api-3.10-src.tar.gz 1193265
+RMD160 948111036efee44a12dbeffd6489aaf94be01ecb w32api-3.10-src.tar.gz 1193265
+SHA256 3bf16681f6566c63bffcc84b7cce2f06071515bfef67cdb5530a105fa7fbefa5 w32api-3.10-src.tar.gz 1193265
diff --git a/dev-util/w32api/w32api-3.10.ebuild b/dev-util/w32api/w32api-3.10.ebuild
new file mode 100644
index 000000000000..0c30c4ec84ec
--- /dev/null
+++ b/dev-util/w32api/w32api-3.10.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/w32api/w32api-3.10.ebuild,v 1.1 2007/10/06 22:37:07 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
+
+DESCRIPTION="Free Win32 runtime and import library definitions"
+HOMEPAGE="http://www.mingw.org/"
+SRC_URI="mirror://sourceforge/mingw/${P}-src.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+RESTRICT="strip"
+
+DEPEND=""
+
+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
+}