|
Lines 14-20
inherit flag-o-matic eutils
Link Here
|
| 14 |
|
14 |
|
| 15 |
DESCRIPTION="Free Win64 runtime and import library definitions" |
15 |
DESCRIPTION="Free Win64 runtime and import library definitions" |
| 16 |
HOMEPAGE="http://mingw-w64.sourceforge.net/" |
16 |
HOMEPAGE="http://mingw-w64.sourceforge.net/" |
| 17 |
SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64-trunk-snapshot-${PV}.tar.bz2" |
17 |
SRC_URI="mirror://sourceforge/mingw-w64/mingw-w64-v1.0-snapshot-${PV}.tar.bz2" |
| 18 |
|
18 |
|
| 19 |
LICENSE="BSD" |
19 |
LICENSE="BSD" |
| 20 |
SLOT="0" |
20 |
SLOT="0" |
|
Lines 22-28
KEYWORDS="~amd64 ~x86"
Link Here
|
| 22 |
IUSE="crosscompile_opts_headers-only" |
22 |
IUSE="crosscompile_opts_headers-only" |
| 23 |
RESTRICT="strip" |
23 |
RESTRICT="strip" |
| 24 |
|
24 |
|
| 25 |
S=${WORKDIR}/trunk/mingw-w64-crt |
25 |
S=${WORKDIR}/mingw-w64-v1.0-${PV}/mingw-w64-crt |
| 26 |
|
26 |
|
| 27 |
is_crosscompile() { |
27 |
is_crosscompile() { |
| 28 |
[[ ${CHOST} != ${CTARGET} ]] |
28 |
[[ ${CHOST} != ${CTARGET} ]] |
|
Lines 37-47
pkg_setup() {
Link Here
|
| 37 |
fi |
37 |
fi |
| 38 |
} |
38 |
} |
| 39 |
|
39 |
|
| 40 |
src_unpack() { |
|
|
| 41 |
unpack ${A} |
| 42 |
epatch "${FILESDIR}"/${P}-mm_shuffle_ps-x86.patch #298087 |
| 43 |
} |
| 44 |
|
| 45 |
src_compile() { |
40 |
src_compile() { |
| 46 |
# install the local headers as the crt step wants latest |
41 |
# install the local headers as the crt step wants latest |
| 47 |
pushd ../mingw-w64-headers >/dev/null |
42 |
pushd ../mingw-w64-headers >/dev/null |