forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ufed-0.92.ebuild
39 lines (31 loc) · 1021 Bytes
/
ufed-0.92.ebuild
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
38
39
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit base eutils multilib autotools
DESCRIPTION="Gentoo Linux USE flags editor"
HOMEPAGE="http://www.gentoo.org/"
SRC_URI="mirror://gentoo/${P}.tar.bz2
http://dev.gentoo.org/~fuzzyray/distfiles/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE=""
COMMON_DEPEND="sys-libs/ncurses"
RDEPEND="${COMMON_DEPEND}
dev-lang/perl"
DEPEND="${COMMON_DEPEND}
virtual/pkgconfig"
# Populate the patches array for patches applied for -rX releases
# It is an array of patch file names of the form:
# "${FILESDIR}"/${P}-make.globals-path.patch
PATCHES=()
src_prepare() {
base_src_prepare
# Change the version number to reflect the ebuild version
sed -i "s:,\[git\],:,\[${PVR}\],:" configure.ac
eautoreconf
}
src_configure() {
econf --libexecdir="${EPREFIX}"/usr/$(get_libdir)/ufed
}