pkgsrc-wip/mingw-w64-headers/Makefile
Aleksej Saushev 5069d752df Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Mark packages that don't or might probably not have staged installation.
2012-10-03 15:09:46 +00:00

39 lines
998 B
Makefile

# $NetBSD: Makefile,v 1.6 2012/10/03 15:09:55 asau Exp $
#
DISTNAME= mingw-w64-v2.0
PKGNAME= mingw-w64-headers-2.0
CATEGORIES= cross
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mingw-w64/mingw-w64/mingw-w64-release/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mingw-w64.sourceforge.net/
COMMENT= Headers for win32/64 cross-development
#LICENSE= # TODO: (see mk/license.mk)
WRKSRC= ${WRKDIR}/${DISTNAME:S/-snapshot//}
GNU_CONFIGURE= yes
USE_CROSSBASE= yes
USE_TOOLS+= gmake
USE_GNU_CONFIGURE_HOST= no
CONFIGURE_ARGS+= --build=${NATIVE_MACHINE_GNU_PLATFORM:Q} \
--host=x86_64-w64-mingw32
CONFIGURE_DIRS= ../build
BUILD_DIRS= ../build
INSTALL_DIRS= ../build
CONFIGURE_SCRIPT= ${WRKSRC}/mingw-w64-headers/configure
INSTALLATION_DIRS+= x86_64-w64-mingw32/lib
post-extract:
mkdir ${WRKDIR}/build
post-install:
ln -sf x86_64-w64-mingw32 ${DESTDIR}${PREFIX}/mingw
ln -sf lib ${DESTDIR}${PREFIX}/x86_64-w64-mingw32/lib64
.include "../../mk/bsd.pkg.mk"