This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

add new package: drush-4.5

  • Loading branch information...
11mariom committed Nov 12, 2011
1 parent 3412656 commit 04e6df9c5279fd33709dbf882cfed6c0fc91bc43
Showing with 37 additions and 0 deletions.
  1. +2 −0 app-admin/drush/Manifest
  2. +35 −0 app-admin/drush/drush-4.5.ebuild
View
@@ -0,0 +1,2 @@
+DIST drush-4.5.tar.gz 282760 RMD160 29566326577ebafb5321941c9abf92462bec7891 SHA1 81446d1bc61dc47a19050f809faa336633aeef17 SHA256 11a8ba3acbebf0be45407dee54a4c59cb9da7dfb461cf4ed9e27e78b2968fc99
+EBUILD drush-4.5.ebuild 971 RMD160 76e364cf9bbe5bf9233dc53532265717d038f6c6 SHA1 dcdc49f3675a4f326c667c81f30cce1616826f01 SHA256 2d5376ba20cdf349c24f2b56c738e20a4368b5f1c35b19497244b56f001a9d5a
@@ -0,0 +1,35 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/drush/drush-4.4.ebuild,v 1.1 2011/05/26 22:22:01 ramereth Exp $
+
+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}"
+}

0 comments on commit 04e6df9

Please sign in to comment.