Import dev-php/pecl-scrypt and dev-php/php-ast ebuilds

Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
2021-04-02 01:29:08 +02:00
parent 4f07377153
commit a822a52f44
4 changed files with 61 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="7"
PHP_EXT_NAME="ast"
PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="no"
DOCS="README.md"
USE_PHP="php7-0 php7-1 php7-2 php7-3 php7-4"
EGIT_CLONE_TYPE="shallow"
EGIT_REPO_URI="https://github.com/nikic/php-ast.git"
inherit php-ext-source-r3 git-r3
KEYWORDS=""
DESCRIPTION="PHP7 abstract syntax tree extension"
LICENSE="BSD-2"
SLOT="0"
IUSE=""
DEPEND="virtual/libc"
RDEPEND="${DEPEND}"
src_unpack() {
git-r3_src_unpack
for slot in $(php_get_slots); do
cp -r "${S}" "${WORKDIR}/${slot}"
done
}