imgtec-ci20: genimage config/ u-boot env
[openadk.git] / package / p5-xml-parser-expat / Makefile
blobb7fb8244a1c19606ec4e4537c05aa41942c29e5e
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= p5-xml-parser-expat
7 PKG_VERSION:= 2.47
8 PKG_RELEASE:= 1
9 PKG_HASH:= ad4aae643ec784f489b956abe952432871a622d4e2b5c619e8855accbfc4d1d8
10 PKG_DESCR:= lowlevel access to expat xml parser
11 PKG_SECTION:= dev/perl
12 PKG_DEPENDS:= perl libexpat
13 PKG_BUILDDEP:= perl-host perl expat
14 PKG_SITES:= http://cpan.metacpan.org/authors/id/T/TO/TODDR/
16 DISTFILES:= XML-Parser-${PKG_VERSION}.tar.gz
17 WRKDIST= ${WRKDIR}/XML-Parser-${PKG_VERSION}
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call PKG_template,P5_XML_PARSER_EXPAT,p5-xml-parser-expat,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 include $(ADK_TOPDIR)/mk/perl.mk
25 PERL_ENV+= EXPATLIBPATH=${STAGING_TARGET_DIR}/usr/lib \
26 EXPATINCPATH=${STAGING_TARGET_DIR}/usr/include
27 CONFIG_STYLE:= perl
28 XAKE_FLAGS+= $(PERL_ENV)
30 p5-xml-parser-expat-install:
31 $(INSTALL_DIR) $(IDIR_P5_XML_PARSER_EXPAT)$(PERL_SITEDIR)
32 $(CP) $(WRKINST)$(PERL_SITEDIR)/* \
33 $(IDIR_P5_XML_PARSER_EXPAT)$(PERL_SITEDIR)
35 include ${ADK_TOPDIR}/mk/pkg-bottom.mk