blob: 284eb7ca982c71c8ad413f8002eef7a9c450a66e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
DESCRIPTION="Static code analyser for PHP"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
HOMEPAGE="http://www.pdepend.org"
SRC_URI="http://static.pdepend.org/php/${PV}/pdepend.phar -> ${P}.phar"
RDEPEND=">=dev-lang/php-5.2.3:*[phar]"
S="${WORKDIR}"
src_unpack() { :; }
src_install() {
insinto /usr/share/php/${PN}
insopts -m755
newins "${DISTDIR}/${P}.phar" ${PN}.phar
dosym /usr/share/php/${PN}/${PN}.phar /usr/bin/${PN}
}
|