From cf4c06c750666b8118f22ed7effc57c8ced09ba9 Mon Sep 17 00:00:00 2001 From: Micha Glave Date: Mon, 29 Aug 2011 16:02:40 +0200 Subject: [PATCH] drush-4.5 --- app-admin/drush/Manifest | 4 ++-- app-admin/drush/drush-4.4.ebuild | 36 -------------------------------- app-admin/drush/drush-4.5.ebuild | 35 +++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 38 deletions(-) delete mode 100644 app-admin/drush/drush-4.4.ebuild create mode 100644 app-admin/drush/drush-4.5.ebuild diff --git a/app-admin/drush/Manifest b/app-admin/drush/Manifest index 4c2bede..cbacc33 100644 --- a/app-admin/drush/Manifest +++ b/app-admin/drush/Manifest @@ -1,2 +1,2 @@ -DIST drush-7.x-4.4.tar.gz 253012 RMD160 31d0580692b1fd52dc79a232b6d227034777477c SHA1 2cb75bff825ccc793a1669d9c52c7325c9680464 SHA256 f6af5d259c169d0b3738568c9a8d114c8958df6deb5440fce3b5842e753fc88f -EBUILD drush-4.4.ebuild 801 RMD160 67ec9658956a3f510a20f9be62548f92112cc707 SHA1 f5e0e384a659c17ed0711916c6e123cf7f00821e SHA256 4a76cff8eb7e60988b8cad44b1bee672a484c3ff61440ce29dda3fa0099827fb +DIST drush-4.5.tar.gz 282760 RMD160 29566326577ebafb5321941c9abf92462bec7891 SHA1 81446d1bc61dc47a19050f809faa336633aeef17 SHA256 11a8ba3acbebf0be45407dee54a4c59cb9da7dfb461cf4ed9e27e78b2968fc99 +EBUILD drush-4.5.ebuild 875 RMD160 9f5b684cec27fc027d791f088103b3c9bc205e6a SHA1 64d83e215d77b46e8d9aa5fb18f063ed0a723a44 SHA256 e4f665e8b78eefd93977a42395b5b99532b3e14d7eedaa08aa144a0833944fc0 diff --git a/app-admin/drush/drush-4.4.ebuild b/app-admin/drush/drush-4.4.ebuild deleted file mode 100644 index e13949c..0000000 --- a/app-admin/drush/drush-4.4.ebuild +++ /dev/null @@ -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} -} diff --git a/app-admin/drush/drush-4.5.ebuild b/app-admin/drush/drush-4.5.ebuild new file mode 100644 index 0000000..e7b3a04 --- /dev/null +++ b/app-admin/drush/drush-4.5.ebuild @@ -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}" +}