/[gentoo-x86]/dev-util/makepp/makepp-2.0.ebuild
Gentoo

Contents of /dev-util/makepp/makepp-2.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jul 1 18:52:49 2012 UTC (10 months, 3 weeks ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Fix destdir installs #424237 by PetaMem R&D.

(Portage version: 2.2.0_alpha112/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-util/makepp/makepp-2.0.ebuild,v 1.1 2012/06/30 15:56:05 vapier Exp $
4
5 EAPI="4"
6
7 MY_PV=${PV/_}
8 MY_P="${PN}-${MY_PV}"
9 DESCRIPTION="GNU make replacement"
10 HOMEPAGE="http://makepp.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${PV%_*}/${MY_P}.txz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~alpha ~ppc ~sparc ~x86"
16 IUSE=""
17
18 DEPEND=">=dev-lang/perl-5.6.0"
19
20 S=${WORKDIR}/${MY_P}
21
22 src_unpack() {
23 ln -s "${DISTDIR}/${A}" ${P}.tar.xz
24 unpack ./${P}.tar.xz
25 }
26
27 src_prepare() {
28 # default "all" rule is to run tests :x
29 sed -i '/^all:/s:test::' config.pl || die
30 }
31
32 src_configure() {
33 # not an autoconf configure script
34 ./configure \
35 --prefix=/usr \
36 --bindir=/usr/bin \
37 --htmldir=/usr/share/doc/${PF}/html \
38 --mandir=/usr/share/man \
39 --datadir=/usr/share/makepp \
40 || die "configure failed"
41 }
42
43 src_test() {
44 # work around https://bugzilla.samba.org/show_bug.cgi?id=8728
45 export CCACHE_UNIFY=1
46 ROOT= default
47 }

  ViewVC Help
Powered by ViewVC 1.1.20