diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-10-22 11:09:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-10-22 11:09:47 +0100 |
commit | 64e107b9b6058580ff0432107eb37cefb0b2a7d8 (patch) | |
tree | 9a44e603e2ae365e2b1fe35ac37f73e830cdee1d /dev-php/recaptcha | |
parent | 957235cf19a691360c720f7913672adda4258ed0 (diff) |
gentoo resync : 22.10.2018
Diffstat (limited to 'dev-php/recaptcha')
-rw-r--r-- | dev-php/recaptcha/Manifest | 2 | ||||
-rw-r--r-- | dev-php/recaptcha/recaptcha-1.2.1.ebuild | 34 |
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-php/recaptcha/Manifest b/dev-php/recaptcha/Manifest index 7f1f03a4bf16..654f7efeb0df 100644 --- a/dev-php/recaptcha/Manifest +++ b/dev-php/recaptcha/Manifest @@ -1,3 +1,5 @@ DIST recaptcha-1.1.3.tar.gz 12909 BLAKE2B cbffb64148f3359f4d351089fde65d2b9c8136e0814b5f6aedb3cd9b7f7d3f8f77d9673059f3909b381cf9151ca34a31bb961fe8686bdda4612c718828e46036 SHA512 54e22654d3b24400e448260f1d075ba2586d33cf44e0a5187b5c1288705b29bf9de394f8ca48f7717a2480cb1ae21348cc63e724f1eb93f268407a942b13f9dd +DIST recaptcha-1.2.1.tar.gz 19935 BLAKE2B 43077b25d484940951bf070fa440b5d13c6992c2a157e06b81961b9692683a277d9507e44102dd0ba0cde66c892fd4736ed34cae4b001bdce0d4ab619828b432 SHA512 62df22a6f4b05006a6051db689994e455ada43f76406dd62c5c13f1d90ae64401e9d75c6a92f2c620a14c070d2b49199c20e70eb6284e42e676d37412a98abe4 EBUILD recaptcha-1.1.3.ebuild 919 BLAKE2B 8e8949018ab7f21addc45fe32ffff4cba9031d2045f0133e41024f39049b9a59d43f9c848b1dec9c3ab779b8aaa52727d15f5f355d6628dc8d6b95d6b69f4eb5 SHA512 87b6ea66c192985a3e9a6502cefd9e7710a7ba6545201bd2f26245db4577ddaa9511ba26f3e56a62309bf46cb7745c568022cbea967a40c6e2e2594a363a23ac +EBUILD recaptcha-1.2.1.ebuild 933 BLAKE2B 0c82cb9aed9bb2129d49d3af983a3ba08e8df20421c94b436a33cc2d1e398e81305dd9ac25a42bbccded96efcb95776d95fa6a97c80dcb0622117133798c345b SHA512 2101b3495bc2a7b36b62ff9b932699c4dd74f71cf39d5de61e6068cc459c3b4db6ff5ef9c4f9c367b61aa809a012e51e5a3f655d171ccf6769c8552337da383f MISC metadata.xml 337 BLAKE2B f5bf73fb4a4f700d08f240f2f5fbf629322ab2f8db346085d09331b69958545dbbf53973a6f04d105edc070901b2cc82ee7800f6be134f159bd7b6587631119b SHA512 abbe5982149863ee6b21edcc5299238a1449ec2ff4088b86453ef4196a2903c1d6fe38cec785562904369944fc6231b463cc1c4914e3eba8e6744bbe2a8ed520 diff --git a/dev-php/recaptcha/recaptcha-1.2.1.ebuild b/dev-php/recaptcha/recaptcha-1.2.1.ebuild new file mode 100644 index 000000000000..867c4344a21b --- /dev/null +++ b/dev-php/recaptcha/recaptcha-1.2.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="PHP client library for Google's reCAPTCHA service" +HOMEPAGE="https://github.com/google/recaptcha" +SRC_URI="https://github.com/google/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="examples test" + +RDEPEND="dev-lang/php" +BDEPEND="test? ( ${RDEPEND} dev-php/phpunit )" + +src_install(){ + insinto "/usr/share/php/${PN}" + doins -r src/autoload.php src/ReCaptcha + dodoc CONTRIBUTING.md README.md + use examples && dodoc -r examples +} + +src_test(){ + phpunit || die "test suite failed" +} + +pkg_postinst(){ + elog "${PN} has been installed in /usr/share/php/${PN}/." + elog "To use it in a script, require('${PN}/autoload.php')," + elog "and then use the ${PN} class normally. Most of the examples in" + elog "the documentation should work without further modification." +} |