25f2d248e1
Bump to version 1.2.
33 lines
832 B
Makefile
33 lines
832 B
Makefile
# $NetBSD: Makefile,v 1.19 2006/10/02 19:11:13 joerg Exp $
|
|
|
|
DISTNAME= bfd-crunchide-1.2
|
|
CATEGORIES= cross
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Crunchide using libbfd, used for cross-building distributions
|
|
|
|
BUILDLINK_DEPMETHOD.cross-binutils= build
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
EXTRACT_ONLY= # empty
|
|
NO_CHECKSUM= yes
|
|
NO_CONFIGURE= yes
|
|
|
|
USE_CROSSBASE= yes
|
|
CPPFLAGS+= -I${PREFIX}/include
|
|
MAKE_ENV+= LIBS=${BFD_LIBS:Q}
|
|
|
|
BFD_LIBS= ${PREFIX}/lib/libbfd.a ${PREFIX}/lib/libiberty.a ${PREFIX}/lib/libintl.a
|
|
|
|
do-extract:
|
|
@${MKDIR} ${WRKSRC}
|
|
@${CP} ${FILESDIR}/Makefile ${FILESDIR}/crunchide.1 ${FILESDIR}/crunchide.c \
|
|
${WRKSRC}
|
|
|
|
pre-install:
|
|
@if [ ! -d ${PREFIX}/bin ]; then ${INSTALL_PROGRAM_DIR} ${PREFIX}/bin; fi
|
|
|
|
.include "../../cross/binutils/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|