From: | "Andrej Kacian (ticho)" <ticho@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-libs/stfl: ChangeLog stfl-0.18.ebuild |
Date: | Thu, 27 Dec 2007 12:48:02 |
Message-Id: | E1J7s9Q-0006W2-EU@stork.gentoo.org |
1 | ticho 07/12/27 12:47:52 |
2 | |
3 | Modified: ChangeLog |
4 | Added: stfl-0.18.ebuild |
5 | Log: |
6 | Version bump. |
7 | (Portage version: 2.1.4_rc9) |
8 | |
9 | Revision Changes Path |
10 | 1.12 dev-libs/stfl/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/stfl/ChangeLog?rev=1.12&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/stfl/ChangeLog?rev=1.12&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/stfl/ChangeLog?r1=1.11&r2=1.12 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-libs/stfl/ChangeLog,v |
19 | retrieving revision 1.11 |
20 | retrieving revision 1.12 |
21 | diff -u -r1.11 -r1.12 |
22 | --- ChangeLog 30 Sep 2007 14:56:19 -0000 1.11 |
23 | +++ ChangeLog 27 Dec 2007 12:47:51 -0000 1.12 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for dev-libs/stfl |
26 | # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/ChangeLog,v 1.11 2007/09/30 14:56:19 ticho Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/ChangeLog,v 1.12 2007/12/27 12:47:51 ticho Exp $ |
29 | + |
30 | +*stfl-0.18 (27 Dec 2007) |
31 | + |
32 | + 27 Dec 2007; Andrej Kacian <ticho@g.o> +stfl-0.18.ebuild: |
33 | + Version bump. |
34 | |
35 | 30 Sep 2007; Andrej Kacian <ticho@g.o> stfl-0.17.ebuild: |
36 | Added a check for unicode-aware ncurses. Patch by Antti Järvinen |
37 | |
38 | |
39 | |
40 | 1.1 dev-libs/stfl/stfl-0.18.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/stfl/stfl-0.18.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/stfl/stfl-0.18.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: stfl-0.18.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2007 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/stfl-0.18.ebuild,v 1.1 2007/12/27 12:47:51 ticho Exp $ |
50 | |
51 | inherit perl-module toolchain-funcs eutils |
52 | |
53 | DESCRIPTION="A library which implements a curses-based widget set for text terminals" |
54 | HOMEPAGE="http://www.clifford.at/stfl/" |
55 | SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz" |
56 | |
57 | LICENSE="LGPL-3" |
58 | SLOT="0" |
59 | KEYWORDS="~x86" |
60 | |
61 | IUSE="examples perl ruby" |
62 | |
63 | DEPEND="sys-libs/ncurses |
64 | perl? ( dev-lang/swig dev-lang/perl ) |
65 | ruby? ( dev-lang/swig dev-lang/ruby )" |
66 | |
67 | RDEPEND="sys-libs/ncurses |
68 | perl? ( dev-lang/perl ) |
69 | ruby? ( dev-lang/ruby )" |
70 | |
71 | src_unpack() { |
72 | unpack "${A}" |
73 | cd "${S}" |
74 | sed -i \ |
75 | -e "s!-Os -ggdb!!" \ |
76 | -e "s!^all:.*!all: libstfl.a!" \ |
77 | Makefile |
78 | |
79 | sed -i -e "s:/usr/lib/python2.4:${D}/usr/lib/python2.4:" \ |
80 | python/Makefile.snippet |
81 | |
82 | if ! use perl; then |
83 | echo "FOUND_PERL5=0" >>Makefile.cfg |
84 | fi |
85 | if ! use ruby; then |
86 | echo "FOUND_RUBY=0" >>Makefile.cfg |
87 | fi |
88 | } |
89 | |
90 | src_compile() { |
91 | if ! built_with_use sys-libs/ncurses unicode ; then |
92 | eerror "For this package to compile you must" |
93 | eerror "enable unicode use flag for ncurses." |
94 | eerror "Please re-emerge ncurses with unicode" |
95 | eerror "use flag." |
96 | die |
97 | fi |
98 | emake -j1 CC="$(tc-getCC)" || die "make failed" |
99 | } |
100 | |
101 | src_install() { |
102 | local exdir="/usr/share/doc/${PF}/examples" |
103 | |
104 | dodir /usr/lib/python2.4/lib-dynload |
105 | emake -j1 prefix="/usr" DESTDIR="${D}" install || die "make install failed" |
106 | |
107 | dodoc README |
108 | |
109 | if use examples; then |
110 | insinto ${exdir} |
111 | doins example.{c,stfl} |
112 | insinto ${exdir}/python |
113 | doins python/example.py |
114 | if use perl; then |
115 | insinto ${exdir}/perl |
116 | doins perl5/example.pl |
117 | fi |
118 | if use ruby; then |
119 | insinto ${exdir}/ruby |
120 | doins ruby/example.rb |
121 | fi |
122 | fi |
123 | |
124 | fixlocalpod |
125 | } |
126 | |
127 | |
128 | |
129 | -- |
130 | gentoo-commits@g.o mailing list |