Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 316827
Collapse All | Expand All

(-)minicom-2.4.ebuild (-5 / +5 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/net-dialup/minicom/minicom-2.4.ebuild,v 1.1 2010/02/19 17:19:08 patrick Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-dialup/minicom/minicom-2.4.ebuild,v 1.1 2010/02/19 17:19:08 patrick Exp $
4
4
5
EAPI="2"
5
EAPI="3"
6
6
7
inherit eutils
7
inherit eutils
8
8
Lines 14-20 Link Here
14
14
15
LICENSE="GPL-2"
15
LICENSE="GPL-2"
16
SLOT="0"
16
SLOT="0"
17
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
17
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux"
18
IUSE="nls"
18
IUSE="nls"
19
19
20
COMMON_DEPEND="sys-libs/ncurses"
20
COMMON_DEPEND="sys-libs/ncurses"
Lines 33-39 Link Here
33
}
33
}
34
34
35
src_configure() {
35
src_configure() {
36
	econf --sysconfdir=/etc/${PN} \
36
	econf --sysconfdir="${EPREFIX}"/etc/${PN} \
37
		$(use_enable nls) \
37
		$(use_enable nls) \
38
		|| die "econf failed"
38
		|| die "econf failed"
39
}
39
}
Lines 47-52 Link Here
47
}
47
}
48
48
49
pkg_preinst() {
49
pkg_preinst() {
50
	[[ -s ${ROOT}/etc/minicom/minirc.dfl ]] \
50
	[[ -s ${EROOT}/etc/minicom/minirc.dfl ]] \
51
		&& rm -f "${D}"/etc/minicom/minirc.dfl
51
		&& rm -f "${ED}"/etc/minicom/minirc.dfl
52
}
52
}

Return to bug 316827