ebuild for http://drupal.org/project/drupalcs the Drupal Code Sniffer

This commit is contained in:
Micha Glave 2012-04-24 14:34:17 +02:00
parent 88ceea590e
commit b2259cacbe
3 changed files with 60 additions and 0 deletions

View File

@ -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

View File

@ -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
}

View File

@ -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
}