Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/slang: ChangeLog slang-2.1.4.ebuild
Date: Mon, 03 Nov 2008 01:47:57
Message-Id: E1KwoXq-00020O-Oz@stork.gentoo.org
1 matsuu 08/11/03 01:47:54
2
3 Modified: ChangeLog
4 Added: slang-2.1.4.ebuild
5 Log:
6 Version bumped, bug #237144. Added EAPI=2.
7 (Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
8
9 Revision Changes Path
10 1.93 sys-libs/slang/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/slang/ChangeLog?rev=1.93&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/slang/ChangeLog?rev=1.93&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/slang/ChangeLog?r1=1.92&r2=1.93
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-libs/slang/ChangeLog,v
19 retrieving revision 1.92
20 retrieving revision 1.93
21 diff -u -r1.92 -r1.93
22 --- ChangeLog 12 Jun 2008 13:32:03 -0000 1.92
23 +++ ChangeLog 3 Nov 2008 01:47:54 -0000 1.93
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-libs/slang
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/ChangeLog,v 1.92 2008/06/12 13:32:03 drac Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/ChangeLog,v 1.93 2008/11/03 01:47:54 matsuu Exp $
29 +
30 +*slang-2.1.4 (03 Nov 2008)
31 +
32 + 03 Nov 2008; MATSUU Takuto <matsuu@g.o> +slang-2.1.4.ebuild:
33 + Version bumped, bug #237144. Added EAPI=2.
34
35 12 Jun 2008; Samuli Suominen <drac@g.o> slang-2.1.3-r1.ebuild:
36 arm stable
37
38
39
40 1.1 sys-libs/slang/slang-2.1.4.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/slang/slang-2.1.4.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/slang/slang-2.1.4.ebuild?rev=1.1&content-type=text/plain
44
45 Index: slang-2.1.4.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/slang-2.1.4.ebuild,v 1.1 2008/11/03 01:47:54 matsuu Exp $
50
51 EAPI=2
52 inherit eutils
53
54 DESCRIPTION="a portable programmer's library designed to allow a developer to create robust portable software."
55 HOMEPAGE="http://www.s-lang.org"
56 SRC_URI="ftp://ftp.fu-berlin.de/pub/unix/misc/slang/v${PV%.*}/${P}.tar.bz2"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
61 IUSE="cjk pcre png readline"
62
63 RDEPEND="sys-libs/ncurses[-minimal]
64 pcre? ( dev-libs/libpcre )
65 png? ( media-libs/libpng )
66 cjk? ( dev-libs/oniguruma )
67 readline? ( sys-libs/readline )"
68 DEPEND="${RDEPEND}
69 !=sys-libs/slang-2.1.2"
70
71 src_prepare() {
72 epatch "${FILESDIR}"/${PN}-2.1.2-slsh-libs.patch
73 epatch "${FILESDIR}"/${PN}-2.1.3-uclibc.patch
74 }
75
76 src_configure() {
77 local myconf
78
79 if use readline; then
80 myconf="${myconf} --with-readline=gnu"
81 else
82 myconf="${myconf} --with-readline=slang"
83 fi
84
85 econf \
86 $(use_with cjk onig) \
87 $(use_with pcre) \
88 $(use_with png) \
89 ${myconf} || die
90 }
91
92 src_compile() {
93 emake -j1 elf static || die "emake elf static failed."
94
95 cd slsh
96 emake -j1 slsh || die "emake slsh failed."
97 }
98
99 src_install() {
100 emake -j1 DESTDIR="${D}" install-all || die "emake install-all failed."
101
102 rm -rf "${D}"/usr/share/doc/{slang,slsh}
103
104 dodoc NEWS README *.txt doc/{,internal,text}/*.txt
105 dohtml doc/slangdoc.html slsh/doc/html/*.html
106 }