diff options
author | Tom Rini <trini@embeddedalley.com> | 2009-01-16 22:51:33 -0500 |
---|---|---|
committer | Tom Rini <trini@embeddedalley.com> | 2009-01-16 22:51:33 -0500 |
commit | dbd20e4123e682e1ec6e6a69b0fdbf6c45b0b96d (patch) | |
tree | ceae493e1ebd2d8adccc2408a2614af7b3c2e43e | |
parent | e602f0edfa99bdc619f9c700b44a26d5b5c67aba (diff) |
mingw-w32api: Add main and -headers package for 3.13
We use some .inc files for the real logic for easy upgrades
-rw-r--r-- | packages/mingw/mingw-w32api-headers.inc | 19 | ||||
-rw-r--r-- | packages/mingw/mingw-w32api-headers_3.13.bb | 3 | ||||
-rw-r--r-- | packages/mingw/mingw-w32api.inc | 13 | ||||
-rw-r--r-- | packages/mingw/mingw-w32api_3.13.bb | 7 |
4 files changed, 42 insertions, 0 deletions
diff --git a/packages/mingw/mingw-w32api-headers.inc b/packages/mingw/mingw-w32api-headers.inc new file mode 100644 index 0000000000..bbd97f9593 --- /dev/null +++ b/packages/mingw/mingw-w32api-headers.inc @@ -0,0 +1,19 @@ +DEPENDS = "" +PROVIDES = "mingw-w32api-headers" + +do_configure() { + : +} + +do_compile() { + : +} + +do_install() { + : +} + +do_stage() { + mkdir -p ${STAGING_INCDIR} + cp -r ${S}/include/* ${STAGING_INCDIR}/ +} diff --git a/packages/mingw/mingw-w32api-headers_3.13.bb b/packages/mingw/mingw-w32api-headers_3.13.bb new file mode 100644 index 0000000000..5d17f8db87 --- /dev/null +++ b/packages/mingw/mingw-w32api-headers_3.13.bb @@ -0,0 +1,3 @@ +require mingw-w32api_${PV}.bb + +require mingw-w32api-headers.inc diff --git a/packages/mingw/mingw-w32api.inc b/packages/mingw/mingw-w32api.inc new file mode 100644 index 0000000000..ecb1cd290a --- /dev/null +++ b/packages/mingw/mingw-w32api.inc @@ -0,0 +1,13 @@ +inherit canadian-native autotools + +INHIBIT_DEFAULT_DEPS = "1" +DEPENDS = "virtual/${TARGET_PREFIX}gcc-initial" + +PROVIDES = "mingw-w32api" + +DEFAULT_PREFERENCE = "0" +DEFAULT_PREFERENCE_sdk-mingw32 = "1" + +PACKAGES = "" + +B = "${WORKDIR}/build-${TARGET_SYS}" diff --git a/packages/mingw/mingw-w32api_3.13.bb b/packages/mingw/mingw-w32api_3.13.bb new file mode 100644 index 0000000000..1b8064f913 --- /dev/null +++ b/packages/mingw/mingw-w32api_3.13.bb @@ -0,0 +1,7 @@ +require mingw-w32api.inc + +PR = "r1" + +SRC_URI = "${SOURCEFORGE_MIRROR}/mingw/w32api-${PV}-mingw32-src.tar.gz" + +S = "${WORKDIR}/w32api-${PV}-mingw32" |