You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-php/composer/composer-1.2.2-r1.ebuild

41 lines
969 B

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
DESCRIPTION="Dependency Manager for PHP"
HOMEPAGE="https://github.com/composer/composer"
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-lang/php:*[curl]
>=dev-php/ca-bundle-1.0.0
>=dev-php/cli-prompt-1.0.0
>=dev-php/psr-log-1.0.2
dev-php/fedora-autoloader
>=dev-php/json-schema-2.0.0
>=dev-php/jsonlint-1.4.0
>=dev-php/phar-utils-1.0.0
>=dev-php/semver-1.0.0
>=dev-php/spdx-licenses-1.0.0
>=dev-php/symfony-console-2.7.9
>=dev-php/symfony-filesystem-2.7.20
>=dev-php/symfony-finder-2.7.20
>=dev-php/symfony-process-2.8.12"
PATCHES=(
"${FILESDIR}/${PN}-update-paths.patch"
)
src_install() {
insinto "/usr/share/php/Composer/Composer"
doins -r src/Composer/. res LICENSE "${FILESDIR}"/autoload.php
dobin bin/composer
dodoc README.md
}