libgpg-error: fix riscv64
[openadk.git] / package / p5-parse-yapp / Makefile
blob46b71fc7bd71881c358c0916b956ac9dde4f510e
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
8 PKG_VERSION:= 1.21
9 PKG_RELEASE:= 1
10 PKG_HASH:= 3810e998308fba2e0f4f26043035032b027ce51ce5c8a52a8b8e340ca65f13e5
11 PKG_DESCR:= Parse Yapp
12 PKG_SECTION:= dev/perl
13 PKG_DEPENDS:= 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
29 HOST_STYLE:= perl
30 CONFIG_STYLE:= perl
31 XAKE_FLAGS+= $(PERL_ENV)
33 hostpost-install:
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