blob: 6522e107da259a2ad18a02066ca769a6fc5be908 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Mouse/Mouse-0.64.ebuild,v 1.2 2010/11/28 16:03:51 armin76 Exp $
EAPI=3
MODULE_AUTHOR=GFUJI
inherit eutils perl-module
DESCRIPTION="Moose minus the antlers"
SRC_URI+=" mirror://gentoo/Mouse-0.64-ppport.h.bz2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~ia64 ~sparc ~x86"
IUSE="test"
RDEPEND="virtual/perl-XSLoader"
DEPEND=">=virtual/perl-ExtUtils-ParseXS-2.21
test? ( dev-perl/Sub-Uplevel
>=dev-perl/Test-Exception-0.29
>=virtual/perl-Test-Simple-0.88 )"
src_prepare() {
perl-module_src_prepare
epatch "${FILESDIR}"/0.64-ppport.patch
mv "${WORKDIR}"/Mouse-0.64-ppport.h "${S}"/ppport.h || die
}
SRC_TEST=do
|