mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 16:32:57 +02:00
mingw-w64-headers: update to 2.0.7 (via pancake).
This commit is contained in:
parent
4b6e3eb397
commit
059fec8935
1 changed files with 17 additions and 39 deletions
|
@ -1,53 +1,31 @@
|
||||||
# Template file for 'mingw-w64-headers'
|
# Template file for 'mingw-w64-headers'
|
||||||
_shortname=mingw-w64
|
_name=mingw-w64
|
||||||
pkgname=${_shortname}-headers
|
pkgname=${_name}-headers
|
||||||
_majversion=1.0
|
version=2.0.7
|
||||||
_snapshot=20110523
|
revision=1
|
||||||
version=${_majversion}.${_snapshot}
|
distfiles="${SOURCEFORGE_SITE}/project/${_name}/${_name}/${_name}-release/${_name}-v${version}.tar.gz"
|
||||||
revision=2
|
|
||||||
distfiles="${SOURCEFORGE_SITE}/${_shortname}/${_shortname}/${_shortname}-v${_majversion}-snapshot-${_snapshot}.tar.bz2"
|
|
||||||
short_desc="mingw-w64 headers, psdk, directx sdk"
|
short_desc="mingw-w64 headers, psdk, directx sdk"
|
||||||
maintainer="davehome <davehome@redthumb.info.tm>"
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
||||||
homepage="http://mingw-w64.sourceforge.net/"
|
homepage="http://mingw-w64.sourceforge.net/"
|
||||||
license="Public Domain, BSD, LGPL, ZPL"
|
license="Public Domain, BSD, LGPL, ZPL"
|
||||||
checksum=12dc02c40cb2d28dd70aeea792fe998e29acfc614589ecf7508cd1fbb93a4154
|
checksum=6e38356e0224b5c262beb792f28c23e8c7192b069083f5b0260963e39fbb13b0
|
||||||
long_desc="
|
|
||||||
These headers are reviewed as to find open documentation available on the
|
|
||||||
internet -- without referencing existing properitery header-set of
|
|
||||||
Microsoft VC.
|
|
||||||
|
|
||||||
For API's, see general references on www.webtropy.com, google, and of course
|
|
||||||
the Microsoft MSDN2 references, which are freely available.
|
|
||||||
|
|
||||||
Additionally, this header set tries to provide most header names and their
|
|
||||||
content as defined by Microsoft -- while keeping compatible, as far as it is
|
|
||||||
possible, with POSIX source for gcc 4.3 and later."
|
|
||||||
|
|
||||||
nostrip=yes
|
nostrip=yes
|
||||||
noverifyrdeps=yes
|
noverifyrdeps=yes
|
||||||
|
build_style=gnu-configure
|
||||||
|
|
||||||
_mingwprefix=/opt
|
_mingwprefix=/usr
|
||||||
|
_mingwtriplet="${XBPS_MACHINE}-w64-mingw32"
|
||||||
|
|
||||||
wrksrc=${_shortname}-v${_majversion}-${_snapshot}
|
wrksrc=${_name}-v${version}
|
||||||
build_wrksrc=${pkgname}
|
build_wrksrc=${pkgname}
|
||||||
|
|
||||||
do_build()
|
configure_args="
|
||||||
{
|
--build=${XBPS_MACHINE}-unknown-linux-gnu
|
||||||
if [ "${XBPS_MACHINE}" = "x86_64" ]; then
|
--prefix=/usr --bindir=${_mingwprefix}/bin
|
||||||
_mingwtriplet="${XBPS_MACHINE}-w64-mingw32"
|
--host=${_mingwtriplet} --with-sdk=all"
|
||||||
_build_args="--build=${XBPS_MACHINE}-unknown-linux-gnu"
|
|
||||||
else
|
|
||||||
_mingwtriplet="${XBPS_MACHINE}-w64-mingw32"
|
|
||||||
_build_args="--build=${XBPS_MACHINE}-pc-linux-gnu"
|
|
||||||
fi
|
|
||||||
|
|
||||||
./configure --prefix=${_mingwprefix} --bindir=${_mingwprefix}/bin \
|
pre_install() {
|
||||||
${_build_args} --host=${_mingwtriplet} --with-sdk=all
|
vmkdir usr/${_mingwtriplet}/usr/include
|
||||||
|
ln -sfr ${DESTDIR}/usr/${_mingwtriplet}/usr/include ${DESTDIR}/usr/${_mingwtriplet}/include
|
||||||
make ${makejobs}
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install()
|
|
||||||
{
|
|
||||||
make DESTDIR=${DESTDIR} install
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue