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 # always use tab spaces as separator, no spaces
7 PKG_NAME
:= p5-parse-yapp
10 PKG_HASH
:= 3810e998308fba2e0f4f26043035032b027ce51ce5c8a52a8b8e340ca65f13e5
11 PKG_DESCR
:= Parse Yapp
12 PKG_SECTION
:= dev
/perl
14 PKG_BUILDDEP
:= perl-host perl
15 HOST_BUILDDEP
:= perl-host
16 PKG_SITES
:= https
://cpan.metacpan.org
/authors
/id
/W
/WB
/WBRASWELL
/
18 DISTFILES
:= Parse-Yapp-
${PKG_VERSION}.
tar.gz
19 WRKDIST
= ${WRKDIR}/Parse-Yapp-
${PKG_VERSION}
21 include $(ADK_TOPDIR
)/mk
/host.mk
22 include $(ADK_TOPDIR
)/mk
/package.mk
24 $(eval
$(call HOST_template
,P5_PARSE_YAPP
,p5-parse-yapp
,$(PKG_VERSION
)-$(PKG_RELEASE
)))
25 $(eval
$(call PKG_template
,P5_PARSE_YAPP
,p5-parse-yapp
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
)))
27 include $(ADK_TOPDIR
)/mk
/perl.mk
31 XAKE_FLAGS
+= $(PERL_ENV
)
34 (cd
$(WRKBUILD
) && PATH
='$(HOST_PATH)' $(HOST_PERL_ENV
) make
install)
36 p5-parse-yapp-install
:
37 $(INSTALL_DIR
) $(IDIR_P5_PARSE_YAPP
)$(PERL_SITEDIR
)
38 $(CP
) $(WRKINST
)$(PERL_SITEDIR
)/* \
39 $(IDIR_P5_PARSE_YAPP
)$(PERL_SITEDIR
)
41 include ${ADK_TOPDIR}/mk
/host-bottom.mk
42 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk