123456789101112131415161718192021222324252627282930 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include $(TOPDIR)/rules.mk
- PKG_NAME:= pcc-libs
- PKG_VERSION:= 1.0.0
- PKG_RELEASE:= 1
- PKG_MD5SUM:= a8dfcd6d3be512bc3f16f96c9abf132e
- PKG_DESCR:= Runtime for the Portable C Compiler
- PKG_SECTION:= lang
- PKG_URL:= http://pcc.ludd.ltu.se/
- PKG_SITES:= http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/
- PKG_ARCH_DEPENDS:= !arm !m68k !mips !ppc
- DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
- include $(TOPDIR)/mk/package.mk
- $(eval $(call PKG_template,PCC_LIBS,pcc-libs,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- # we cross-compile a native compiler for the target system
- CONFIGURE_ARGS+= --host=${GNU_TARGET_NAME}
- CONFIGURE_ARGS+= --target=${GNU_TARGET_NAME}
- pcc-libs-install:
- $(INSTALL_DIR) $(IDIR_PCC_LIBS)/usr/bin
- cd ${WRKINST} && cp -r * ${IDIR_PCC_LIBS}/
- include ${TOPDIR}/mk/pkg-bottom.mk
|