diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-php/PEAR-Crypt_HMAC2/PEAR-Crypt_HMAC2-1.0.0.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-php/PEAR-Crypt_HMAC2/PEAR-Crypt_HMAC2-1.0.0.ebuild')
-rw-r--r-- | dev-php/PEAR-Crypt_HMAC2/PEAR-Crypt_HMAC2-1.0.0.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-php/PEAR-Crypt_HMAC2/PEAR-Crypt_HMAC2-1.0.0.ebuild b/dev-php/PEAR-Crypt_HMAC2/PEAR-Crypt_HMAC2-1.0.0.ebuild new file mode 100644 index 000000000000..dd721a85f55e --- /dev/null +++ b/dev-php/PEAR-Crypt_HMAC2/PEAR-Crypt_HMAC2-1.0.0.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="4" + +inherit php-pear-r1 + +DESCRIPTION="Implementation of Hashed Message Authentication Code for PHP5" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_install() { + php-pear-r1_src_install + + #Useless file that often conflicts with other packages + rm "${D}/usr/share/php/generate_package_xml.php" +} + +pkg_postinst() { + if ! has_version "dev-lang/php[hash]" ; then + elog "${PN} can use the hash extension when enabled to extend the range" + elog "of cryptographic hash functions beyond the natively implemented MD5 and SHA1." + elog "Recompile dev-lang/php with USE=\"hash\" if you want these features." + fi +} |