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
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
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