/[gentoo-x86]/net-dialup/minicom/minicom-2.5.ebuild
Gentoo

Contents of /net-dialup/minicom/minicom-2.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sat Mar 3 14:49:22 2012 UTC (2 years, 6 months ago) by ranger
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines
Marking minicom-2.5 ppc64 for bug 389063

(Portage version: 2.1.10.11/cvs/Linux ppc64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-dialup/minicom/minicom-2.5.ebuild,v 1.8 2012/02/01 22:31:06 ranger Exp $
4
5 EAPI="4"
6
7 inherit eutils
8
9 STUPID_NUM="3487"
10
11 DESCRIPTION="Serial Communication Program"
12 HOMEPAGE="http://alioth.debian.org/projects/minicom"
13 SRC_URI="http://alioth.debian.org/download.php/${STUPID_NUM}/${P}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~ia64-linux ~x86-linux"
18 IUSE="nls"
19
20 COMMON_DEPEND="sys-libs/ncurses"
21 DEPEND="${COMMON_DEPEND}
22 nls? ( sys-devel/gettext )"
23 RDEPEND="${COMMON_DEPEND}
24 net-dialup/lrzsz"
25
26 DOCS="AUTHORS ChangeLog NEWS README doc/minicom.FAQ"
27
28 # Supported languages and translated documentation
29 # Be sure all languages are prefixed with a single space!
30 MY_AVAILABLE_LINGUAS=" cs da de es fi fr hu id ja nb pl pt_BR ro ru rw sv vi zh_TW"
31 IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
32
33 src_prepare() {
34 epatch "${FILESDIR}"/${PN}-2.3-gentoo-runscript.patch
35 }
36
37 src_configure() {
38 econf \
39 --sysconfdir="${EPREFIX}"/etc/${PN} \
40 $(use_enable nls)
41 }
42
43 src_install() {
44 default
45 insinto /etc/minicom
46 doins "${FILESDIR}"/minirc.dfl
47 }
48
49 pkg_preinst() {
50 [[ -s ${EROOT}/etc/minicom/minirc.dfl ]] \
51 && rm -f "${ED}"/etc/minicom/minirc.dfl
52 }

  ViewVC Help
Powered by ViewVC 1.1.20