| 1 |
# Copyright 1999-2008 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-php/PEAR-DB_DataObject/PEAR-DB_DataObject-1.8.8.ebuild,v 1.1 2008/02/11 20:50:20 armin76 Exp $
|
| 4 |
|
| 5 |
inherit php-pear-r1
|
| 6 |
|
| 7 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
| 8 |
|
| 9 |
DESCRIPTION="An SQL Builder, Object Interface to Database Tables."
|
| 10 |
LICENSE="PHP-2.02 PHP-3"
|
| 11 |
SLOT="0"
|
| 12 |
IUSE="minimal"
|
| 13 |
|
| 14 |
DEPEND=""
|
| 15 |
RDEPEND=">=dev-php/PEAR-DB-1.7.6-r1
|
| 16 |
>=dev-php/PEAR-Date-1.4.3-r1
|
| 17 |
!minimal? ( >=dev-php/PEAR-Validate-0.5.0-r1
|
| 18 |
>=dev-php/PEAR-MDB2-2.0.0_rc1 )"
|
| 19 |
|
| 20 |
src_unpack() {
|
| 21 |
unpack "${A}"
|
| 22 |
# don't install windows-only stuff
|
| 23 |
sed -re 's:<file baseinstalldir="DB" md5sum=".{32}" name="scripts/DB_DataObject_createTables.bat" role="script" />::' -i package.xml || die "sed failed"
|
| 24 |
}
|