diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-16 21:59:00 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-16 21:59:10 +0200 |
commit | 77ba10826a6c8387db4921b86548824b31840003 (patch) | |
tree | fb9755fc2ad8a1a12a5e05f888f9550af3ea1132 /package | |
parent | 09cd05404a941c07e5c9e16c38d3e0079661abba (diff) |
fix p5-xml-parser package, add basic perl module infrastructure (based on buildroot perl stuff)
Diffstat (limited to 'package')
-rw-r--r-- | package/p5-xml-parser/Makefile (renamed from package/p5-XML-Parser/Makefile) | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/package/p5-XML-Parser/Makefile b/package/p5-xml-parser/Makefile index f2f402a21..00a6f44e7 100644 --- a/package/p5-XML-Parser/Makefile +++ b/package/p5-xml-parser/Makefile @@ -3,18 +3,16 @@ include $(TOPDIR)/rules.mk -PKG_NAME:= p5-XML-Parser +PKG_NAME:= p5-xml-parser PKG_VERSION:= 2.40 PKG_RELEASE:= 2 PKG_MD5SUM:= c66e9adba003d0667cc40115ccd837a5 PKG_DESCR:= xml parser PKG_SECTION:= dev/perl PKG_DEPENDS:= perl libexpat -PKG_BUILDDEP:= perl-host expat +PKG_BUILDDEP:= perl expat PKG_SITES:= http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/ -PKG_CFLINE_P5_XML_PARSER:= depends on ADK_BROKEN - DISTFILES:= XML-Parser-${PKG_VERSION}.tar.gz WRKDIST= ${WRKDIR}/XML-Parser-${PKG_VERSION} @@ -22,16 +20,12 @@ include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,P5_XML_PARSER,p5-xml-parser,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) -CONFIG_STYLE:= manual -XAKE_FLAGS+= CC="$(TARGET_CC)" CCFLAGS="$(TARGET_CFLAGS)" - include $(TOPDIR)/mk/perl.mk -pre-build: - (cd ${WRKSRC} && PATH='${HOST_PATH}' \ - perl-host Makefile.PL \ - EXPATLIBPATH=${STAGING_TARGET_DIR}/usr/lib \ - EXPATINCPATH=${STAGING_TARGET_DIR}/usr/include) +PERL_ENV+= EXPATLIBPATH=${STAGING_TARGET_DIR}/usr/lib \ + EXPATINCPATH=${STAGING_TARGET_DIR}/usr/include +CONFIG_STYLE:= perl +XAKE_FLAGS+= $(PERL_ENV) p5-xml-parser-install: $(INSTALL_DIR) $(IDIR_P5_XML_PARSER)$(PERL_SITEDIR) |