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