From b2259cacbe03c6d7f5380d3182297408cee9dccf Mon Sep 17 00:00:00 2001 From: Micha Glave Date: Tue, 24 Apr 2012 14:34:17 +0200 Subject: [PATCH] ebuild for http://drupal.org/project/drupalcs the Drupal Code Sniffer --- dev-php/drupalcs/Manifest | 3 +++ dev-php/drupalcs/drupalcs-1.0_alpha1.ebuild | 28 ++++++++++++++++++++ dev-php/drupalcs/drupalcs-9999.ebuild | 29 +++++++++++++++++++++ 3 files changed, 60 insertions(+) create mode 100644 dev-php/drupalcs/Manifest create mode 100644 dev-php/drupalcs/drupalcs-1.0_alpha1.ebuild create mode 100644 dev-php/drupalcs/drupalcs-9999.ebuild diff --git a/dev-php/drupalcs/Manifest b/dev-php/drupalcs/Manifest new file mode 100644 index 0000000..b38d3b1 --- /dev/null +++ b/dev-php/drupalcs/Manifest @@ -0,0 +1,3 @@ +DIST drupalcs-7.x-1.0-alpha1.tar.gz 47893 RMD160 895d0e1237144686006713f70eaa6bb8aeb10bc5 SHA1 1e6d397be0b149771901cf2a54935b0e645fb267 SHA256 2bf2f837fdbd5cef61b3b53aa9c1b35a2ab34a86aebe93e1654baa94d7d7f5e2 +EBUILD drupalcs-1.0_alpha1.ebuild 609 RMD160 139387295552c14171fff6e3d96266222773f8f8 SHA1 f0c006b8676105d1682e176318b23bf15d5dc1fe SHA256 3a5ea93c17091b75b62ce0cdd83dd1045d49aa3c6a9398493d7911474a62b916 +EBUILD drupalcs-9999.ebuild 592 RMD160 55ca2b2e0a90a91390366dc1f18ded70ece8b1c3 SHA1 19eb341af04550fc652f6c07427ee276a4f02b1d SHA256 431a805b8ff483281d86c5e4b549a33ddb2a03d85949f09f427488bed41f8a29 diff --git a/dev-php/drupalcs/drupalcs-1.0_alpha1.ebuild b/dev-php/drupalcs/drupalcs-1.0_alpha1.ebuild new file mode 100644 index 0000000..8cad082 --- /dev/null +++ b/dev-php/drupalcs/drupalcs-1.0_alpha1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +DESCRIPTION="Drupal Code Sniffer" +HOMEPAGE="http://drupal.org/project/drupalcs" +SRC_URI="http://ftp.drupal.org/files/projects/${PN}-7.x-${PV/_/-}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="dev-php/PEAR-PHP_CodeSniffer" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/${PN} + +src_install() { + dodoc README.txt + + insinto /usr/share/php/PHP/CodeSniffer/Standards + doins -r Drupal + insinto /usr/share/php/tests/PHP_CodeSniffer/CodeSniffer/Standards/Drupal + doins -r Test +} diff --git a/dev-php/drupalcs/drupalcs-9999.ebuild b/dev-php/drupalcs/drupalcs-9999.ebuild new file mode 100644 index 0000000..9bfaa7a --- /dev/null +++ b/dev-php/drupalcs/drupalcs-9999.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=4 + +inherit git-2 + +DESCRIPTION="Drupal Code Sniffer" +HOMEPAGE="http://drupal.org/project/drupalcs" +EGIT_REPO_URI="http://git.drupal.org/project/drupalcs.git" +EGIT_BRANCH="7.x-1.x" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="dev-php/PEAR-PHP_CodeSniffer" +RDEPEND="${DEPEND}" + +src_install() { + dodoc README.txt + + insinto /usr/share/php/PHP/CodeSniffer/Standards + doins -r Drupal + insinto /usr/share/php/tests/PHP_CodeSniffer/CodeSniffer/Standards/Drupal + doins -r Test +}