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-digest-sha1
9 PKG_HASH
:= 68c1dac2187421f0eb7abf71452a06f190181b8fc4b28ededf5b90296fb943cc
10 PKG_DESCR
:= interface to the sha-1 algorithm
11 PKG_SECTION
:= dev
/perl
13 PKG_BUILDDEP
:= perl-host perl
14 PKG_SITES
:= http
://cpan.metacpan.org
/authors
/id
/G
/GA
/GAAS
/
16 DISTFILES
:= Digest-SHA1-
${PKG_VERSION}.
tar.gz
17 WRKDIST
= ${WRKDIR}/Digest-SHA1-
${PKG_VERSION}
19 include $(ADK_TOPDIR
)/mk
/package.mk
21 $(eval
$(call PKG_template
,P5_DIGEST_SHA1
,p5-digest-sha1
,$(PKG_VERSION
)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 include $(ADK_TOPDIR
)/mk
/perl.mk
26 XAKE_FLAGS
+= $(PERL_ENV
)
28 p5-digest-sha1-install
:
29 $(INSTALL_DIR
) $(IDIR_P5_DIGEST_SHA1
)$(PERL_SITEDIR
)
30 $(CP
) $(WRKINST
)$(PERL_SITEDIR
)/* \
31 $(IDIR_P5_DIGEST_SHA1
)$(PERL_SITEDIR
)
33 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk