diff options
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/pecl-mcrypt/Manifest | 1 | ||||
-rw-r--r-- | dev-php/pecl-mcrypt/pecl-mcrypt-1.0.4.ebuild | 30 |
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-php/pecl-mcrypt/Manifest b/dev-php/pecl-mcrypt/Manifest index 404b1e8693f0..b6efe99f588d 100644 --- a/dev-php/pecl-mcrypt/Manifest +++ b/dev-php/pecl-mcrypt/Manifest @@ -1 +1,2 @@ DIST mcrypt-1.0.3.tgz 33590 BLAKE2B 5de1108f53604fffea9e3cb64d9efdae2008da164acd47b27fd0df8f12a0f508345d63bee4d588c1eecd9a935f8be3b2db5c3d119c5b3013955c54085ebe9e9f SHA512 ef215b576b471d6e1ecac4bb097f518fa57fd551b678b7fdddd9d5058f6667b0ee757e887f00b61672b89cd86f1962cbfe0e355681fa47daba9873c3bf4db679 +DIST mcrypt-1.0.4.tgz 27056 BLAKE2B 3faa77299ef1b5ab3f5a427b57d64f5f5ec54bc41f83924bfd285289c168341c0f044970fb0c37ca8561e68be165a40b2d6fd423ed6d5aa74225d5a3fb349546 SHA512 6a8244761035640366041a5f26057ab14bb85eaaa973ddf604e152b786ef750ec775ae91d7582044700d6fdef902425f3a9d6839113a52e0a9f957bf9d0c189a diff --git a/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.4.ebuild b/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.4.ebuild new file mode 100644 index 000000000000..84485926db73 --- /dev/null +++ b/dev-php/pecl-mcrypt/pecl-mcrypt-1.0.4.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PHP_EXT_NAME="mcrypt" +USE_PHP="php7-3 php7-4 php8-0" +MY_P="${PN/pecl-/}-${PV/_rc/RC}" +PHP_EXT_ECONF_ARGS=() +PHP_EXT_PECL_FILENAME="${MY_P}.tgz" +PHP_EXT_S="${WORKDIR}/${MY_P}" + +inherit php-ext-pecl-r3 + +DESCRIPTION="Bindings for the libmcrypt library" +LICENSE="PHP-3.01" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" + +DEPEND="dev-libs/libmcrypt" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_P}" + +#src_prepare() { + # PHP Warning: Use of undefined constant MCRYPT_CBC - assumed 'MCRYPT_CBC' +# sed -i '/MODE3/s/MCRYPT_CBC/"MCRYPT_CBC"/g' tests/bug8040.phpt || die + +# php-ext-source-r3_src_prepare +#} |