alpha-quadrant/app-admin/drush/drush-4.4.ebuild

37 lines
801 B
Bash
Raw Normal View History

2010-09-02 17:17:39 +02:00
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="2"
2011-05-09 12:36:04 +02:00
SRC_URI="http://ftp.drupal.org/files/projects/${PN}-7.x-${PV}.tar.gz"
S=${WORKDIR}/${PN}
2010-09-02 17:17:39 +02:00
DESCRIPTION="Drupal-centric shell. Simplifies Drupal installation/management"
HOMEPAGE="http://drupal.org/project/drush"
2011-05-09 12:36:04 +02:00
2010-09-02 17:17:39 +02:00
LICENSE="GPL-2"
SLOT="0"
2011-05-09 12:36:04 +02:00
KEYWORDS="amd64 x86"
IUSE="examples"
2010-09-02 17:17:39 +02:00
2011-05-09 12:36:04 +02:00
#DEPEND="dev-lang/php[cli,simplexml]"
DEPEND="dev-lang/php[cli,simplexml] dev-php/pear"
2010-09-02 17:17:39 +02:00
RDEPEND="${DEPEND}"
src_install() {
insinto /usr/share/drush
exeinto /usr/share/drush
dodoc README.txt || die
2011-05-09 12:36:04 +02:00
doins -r includes commands drush.php drush.info || die
2010-09-02 17:17:39 +02:00
doexe drush || die
dosym /usr/share/drush/drush /usr/bin/drush || die
2011-05-09 12:36:04 +02:00
use examples && cp -R examples ${D}/usr/share/doc/${PF}
2010-09-02 17:17:39 +02:00
}