This commit is contained in:
Micha Glave 2012-05-14 09:12:43 +02:00
parent 713e22004b
commit 4f814081b6
2 changed files with 0 additions and 57 deletions

View File

@ -1,2 +0,0 @@
DIST drush-5.1.tar.gz 398390 RMD160 972ff3a2c8baa6513f7e9b889086861ff771511c SHA1 8575d6e38b7a78af4714d0509181b9b5d1b60246 SHA256 24c701e8e4da60261210227f5e3c666989ce79234b222a8b1f17de137e7efd67
EBUILD drush-5.1.ebuild 1286 RMD160 22347a07912b3d4cbc9c28ca35d3a2e1faf532c1 SHA1 8623d8bb390251bc487b0fafe61cd6024677a621 SHA256 fbe67c18bdca7599bd63ecd7a7e065956933742149afd724d1c7e05065a1b529

View File

@ -1,55 +0,0 @@
# 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
dev-php/PEAR-Console_Getopt
dev-php/PEAR-Console_Table"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${PN}"
src_prepare() {
sed -i \
-e "s!\(/share/doc/\)drush!\1${P}!g" \
-e "s!README\.txt!\0.bz2!g" \
includes/bootstrap.inc || die
sed -i -e "s!\.php'!.php.bz2'!g" commands/core/docs.drush.inc || die
# preparing bashcomp
mkdir bashcomp
sed \
-e "1,2d" \
-e "5,11d" \
drush.complete.sh > bashcomp/drush
# cleanup
rm drush.bat includes/.gitignore
}
src_install() {
local docs="README.txt docs"
use examples && docs="${docs} examples"
insinto /usr/share/drush
doins -r drush.php drush.info includes commands lib LICENSE.txt
exeinto /usr/share/drush
doexe drush
dosym /usr/share/drush/drush /usr/bin/drush
dodoc -r ${docs}
keepdir /etc/drush
insinto /usr/share/bash-completion
doins bashcomp/drush
}