blob: a41c906fb8e0132b9d0a3bc771bae527e3ca8d1f (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-portage/ufed/ufed-0.40.1-r1.ebuild,v 1.1 2012/08/12 11:44:53 ssuominen Exp $
EAPI=4
inherit eutils multilib
DESCRIPTION="Gentoo Linux USE flags editor"
HOMEPAGE="http://www.gentoo.org/"
SRC_URI="mirror://gentoo/${P}.tar.bz2
http://dev.gentoo.org/~truedfx/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE=""
DEPEND="sys-libs/ncurses"
RDEPEND="${DEPEND}
dev-lang/perl"
src_prepare() {
epatch "${FILESDIR}"/${P}-make.globals-path.patch
epatch "${FILESDIR}"/${P}-make.conf-read.patch
epatch "${FILESDIR}"/${P}-make.conf-write.patch
epatch "${FILESDIR}"/${P}-make.profile-path.patch
}
src_configure() {
econf --libexecdir=/usr/$(get_libdir)/ufed
}
|