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.2.1.ebuild
Date: Wed, 07 Oct 2009 23:12:05
Message-Id: E1Mvffv-0006xa-Ai@stork.gentoo.org
1 matsuu 09/10/07 23:12:03
2
3 Modified: ChangeLog
4 Added: slang-2.2.1.ebuild
5 Log:
6 Version bumped, bug #288082.
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.103 sys-libs/slang/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/slang/ChangeLog?rev=1.103&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/slang/ChangeLog?rev=1.103&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/slang/ChangeLog?r1=1.102&r2=1.103
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-libs/slang/ChangeLog,v
19 retrieving revision 1.102
20 retrieving revision 1.103
21 diff -u -r1.102 -r1.103
22 --- ChangeLog 7 Oct 2009 16:37:55 -0000 1.102
23 +++ ChangeLog 7 Oct 2009 23:12:02 -0000 1.103
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-libs/slang
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/ChangeLog,v 1.102 2009/10/07 16:37:55 nixnut Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/slang/ChangeLog,v 1.103 2009/10/07 23:12:02 matsuu Exp $
29 +
30 +*slang-2.2.1 (07 Oct 2009)
31 +
32 + 07 Oct 2009; MATSUU Takuto <matsuu@g.o> +slang-2.2.1.ebuild:
33 + Version bumped, bug #288082.
34
35 07 Oct 2009; nixnut <nixnut@g.o> slang-2.2.0.ebuild:
36 ppc stable #287733
37
38
39
40 1.1 sys-libs/slang/slang-2.2.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/slang/slang-2.2.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/slang/slang-2.2.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: slang-2.2.1.ebuild
46 ===================================================================
47 # Copyright 1999-2009 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.2.1.ebuild,v 1.1 2009/10/07 23:12:02 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 ~x86 ~sparc-fbsd ~x86-fbsd"
61 IUSE="cjk pcre png readline zlib"
62
63 RDEPEND="sys-libs/ncurses
64 pcre? ( dev-libs/libpcre )
65 png? ( media-libs/libpng )
66 cjk? ( dev-libs/oniguruma )
67 readline? ( sys-libs/readline )
68 zlib? ( sys-libs/zlib )"
69 DEPEND="${RDEPEND}"
70
71 src_prepare() {
72 epatch "${FILESDIR}"/${PN}-2.1.2-slsh-libs.patch \
73 "${FILESDIR}"/${PN}-2.1.3-uclibc.patch
74 }
75
76 src_configure() {
77 local myconf
78
79 if use readline; then
80 myconf+=" --with-readline=gnu"
81 else
82 myconf+=" --with-readline=slang"
83 fi
84
85 econf \
86 $(use_with cjk onig) \
87 $(use_with pcre) \
88 $(use_with png) \
89 $(use_with zlib z) \
90 ${myconf}
91 }
92
93 src_compile() {
94 emake -j1 elf static || die "emake elf static failed"
95
96 cd slsh
97 emake -j1 slsh || die "emake slsh failed"
98 }
99
100 src_install() {
101 emake -j1 DESTDIR="${D}" install-all || die "emake install-all failed"
102
103 rm -rf "${D}"/usr/share/doc/{slang,slsh}
104
105 dodoc NEWS README *.txt doc/{,internal,text}/*.txt
106 dohtml doc/slangdoc.html slsh/doc/html/*.html
107 }