Import dev-php/pecl-scrypt and dev-php/php-ast ebuilds
Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
34
dev-php/php-ast/php-ast-9999.ebuild
Normal file
34
dev-php/php-ast/php-ast-9999.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user