| 1 |
# Copyright 1999-2010 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-php5/doctrine/doctrine-1.2.1.ebuild,v 1.1 2010/01/02 00:15:40 yngwin Exp $
|
| 4 |
|
| 5 |
EAPI="2"
|
| 6 |
inherit depend.php
|
| 7 |
|
| 8 |
MY_P="Doctrine-${PV}"
|
| 9 |
DESCRIPTION="An object relational mapper for PHP5"
|
| 10 |
HOMEPAGE="http://www.doctrine-project.org/"
|
| 11 |
SRC_URI="http://www.doctrine-project.org/downloads/${MY_P}.tgz"
|
| 12 |
|
| 13 |
LICENSE="LGPL-2.1 MIT BSD"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="~amd64 ~x86"
|
| 16 |
IUSE=""
|
| 17 |
|
| 18 |
DEPEND=">=dev-lang/php-5.2.3[cli,pdo]"
|
| 19 |
RDEPEND="${DEPEND}"
|
| 20 |
|
| 21 |
S="${WORKDIR}/${MY_P}"
|
| 22 |
|
| 23 |
need_php_by_category
|
| 24 |
|
| 25 |
src_install() {
|
| 26 |
has_php
|
| 27 |
|
| 28 |
insinto /usr/share/php5/Doctrine
|
| 29 |
doins -r lib/*
|
| 30 |
|
| 31 |
dodoc-php CHANGELOG
|
| 32 |
}
|