From dbd20e4123e682e1ec6e6a69b0fdbf6c45b0b96d Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 16 Jan 2009 22:51:33 -0500 Subject: mingw-w32api: Add main and -headers package for 3.13 We use some .inc files for the real logic for easy upgrades --- packages/mingw/mingw-w32api-headers.inc | 19 +++++++++++++++++++ packages/mingw/mingw-w32api-headers_3.13.bb | 3 +++ packages/mingw/mingw-w32api.inc | 13 +++++++++++++ packages/mingw/mingw-w32api_3.13.bb | 7 +++++++ 4 files changed, 42 insertions(+) create mode 100644 packages/mingw/mingw-w32api-headers.inc create mode 100644 packages/mingw/mingw-w32api-headers_3.13.bb create mode 100644 packages/mingw/mingw-w32api.inc create mode 100644 packages/mingw/mingw-w32api_3.13.bb (limited to 'packages') 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" -- cgit v1.2.3