drush-4.5

This commit is contained in:
Micha Glave 2011-08-29 16:02:40 +02:00
parent e08c6b937e
commit cf4c06c750
3 changed files with 37 additions and 38 deletions

View File

@ -1,2 +1,2 @@
DIST drush-7.x-4.4.tar.gz 253012 RMD160 31d0580692b1fd52dc79a232b6d227034777477c SHA1 2cb75bff825ccc793a1669d9c52c7325c9680464 SHA256 f6af5d259c169d0b3738568c9a8d114c8958df6deb5440fce3b5842e753fc88f DIST drush-4.5.tar.gz 282760 RMD160 29566326577ebafb5321941c9abf92462bec7891 SHA1 81446d1bc61dc47a19050f809faa336633aeef17 SHA256 11a8ba3acbebf0be45407dee54a4c59cb9da7dfb461cf4ed9e27e78b2968fc99
EBUILD drush-4.4.ebuild 801 RMD160 67ec9658956a3f510a20f9be62548f92112cc707 SHA1 f5e0e384a659c17ed0711916c6e123cf7f00821e SHA256 4a76cff8eb7e60988b8cad44b1bee672a484c3ff61440ce29dda3fa0099827fb EBUILD drush-4.5.ebuild 875 RMD160 9f5b684cec27fc027d791f088103b3c9bc205e6a SHA1 64d83e215d77b46e8d9aa5fb18f063ed0a723a44 SHA256 e4f665e8b78eefd93977a42395b5b99532b3e14d7eedaa08aa144a0833944fc0

View File

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

View File

@ -0,0 +1,35 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="4"
DESCRIPTION="Drush is a command line shell and scripting interface for Drupal"
HOMEPAGE="http://drupal.org/project/drush"
SRC_URI="http://ftp.drupal.org/files/projects/${PN}-7.x-${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"
DEPEND="dev-lang/php[cli,simplexml] dev-php/pear"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}"
src_install() {
local docs="README.txt docs"
insinto /usr/share/drush
doins -r .
exeinto /usr/share/drush
doexe drush
dosym /usr/share/drush/drush /usr/bin/drush
dodoc -r ${docs}
# cleanup
for i in ${docs} LICENSE.txt drush.bat examples includes/.gitignore ; do
rm -rf "${D}/usr/share/drush/${i}"
done
use examples && cp -R examples "${D}"/usr/share/doc/"${PF}"
}