blob: ce11b677d1933112bbe9fe7e3e85ea1b0767ac94 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/checkbashisms/checkbashisms-2.0.0.2-r2.ebuild,v 1.1 2014/08/14 02:49:22 patrick Exp $
EAPI=5
inherit eutils
DESCRIPTION="Perl script to check for commonly used bash features not defined by POSIX"
# "checkbaskisms" is not a typo, it's the actual upstream SF project name.
HOMEPAGE="http://sourceforge.net/projects/checkbaskisms/"
SRC_URI="mirror://sourceforge/checkbaskisms/${PV}/${PN} -> ${P}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-lang/perl
virtual/perl-Getopt-Long
!<dev-util/rpmdevtools-8.3-r1"
S=${WORKDIR}
src_unpack() {
cp "${DISTDIR}"/${P} ${PN}
}
src_prepare() {
epatch "${FILESDIR}"/${P}-export.patch #458392
epatch "${FILESDIR}"/${P}-kill.patch #458392
epatch "${FILESDIR}"/${P}-version.patch
}
src_install() {
dobin ${PN}
}
|