2011-07-15 14:13:40 +02:00
|
|
|
# Template file for 'mingw-w64-headers'
|
2013-02-04 14:55:54 +01:00
|
|
|
_name=mingw-w64
|
|
|
|
pkgname=${_name}-headers
|
|
|
|
version=2.0.7
|
2013-02-04 14:57:01 +01:00
|
|
|
revision=2
|
2013-02-04 14:55:54 +01:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/project/${_name}/${_name}/${_name}-release/${_name}-v${version}.tar.gz"
|
2011-07-21 00:38:06 +02:00
|
|
|
short_desc="mingw-w64 headers, psdk, directx sdk"
|
2011-07-15 14:13:40 +02:00
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
|
|
|
homepage="http://mingw-w64.sourceforge.net/"
|
|
|
|
license="Public Domain, BSD, LGPL, ZPL"
|
2013-02-04 14:55:54 +01:00
|
|
|
checksum=6e38356e0224b5c262beb792f28c23e8c7192b069083f5b0260963e39fbb13b0
|
2011-07-15 14:13:40 +02:00
|
|
|
|
2013-02-04 14:57:01 +01:00
|
|
|
noarch=yes
|
2011-07-15 14:13:40 +02:00
|
|
|
nostrip=yes
|
|
|
|
noverifyrdeps=yes
|
2013-02-04 14:55:54 +01:00
|
|
|
build_style=gnu-configure
|
2011-07-15 14:13:40 +02:00
|
|
|
|
2013-02-04 14:55:54 +01:00
|
|
|
_mingwprefix=/usr
|
|
|
|
_mingwtriplet="${XBPS_MACHINE}-w64-mingw32"
|
2011-07-15 14:13:40 +02:00
|
|
|
|
2013-02-04 14:55:54 +01:00
|
|
|
wrksrc=${_name}-v${version}
|
2011-07-21 00:38:06 +02:00
|
|
|
build_wrksrc=${pkgname}
|
|
|
|
|
2013-02-04 14:55:54 +01:00
|
|
|
configure_args="
|
|
|
|
--build=${XBPS_MACHINE}-unknown-linux-gnu
|
|
|
|
--prefix=/usr --bindir=${_mingwprefix}/bin
|
|
|
|
--host=${_mingwtriplet} --with-sdk=all"
|
2011-07-15 14:13:40 +02:00
|
|
|
|
2013-02-04 14:55:54 +01:00
|
|
|
pre_install() {
|
|
|
|
vmkdir usr/${_mingwtriplet}/usr/include
|
|
|
|
ln -sfr ${DESTDIR}/usr/${_mingwtriplet}/usr/include ${DESTDIR}/usr/${_mingwtriplet}/include
|
2011-07-15 14:13:40 +02:00
|
|
|
}
|
2013-04-14 04:24:51 +02:00
|
|
|
|
|
|
|
mingw-w64-headers_package() {
|
|
|
|
noarch="yes"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|