void-packages/srcpkgs/mingw-w64-headers/template

33 lines
951 B
Plaintext
Raw Normal View History

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