1 |
tanderson 10/04/03 13:41:01 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: stfl-0.21.ebuild |
5 |
Log: |
6 |
Add dev-libs/stfl-0.21, thanks to Tim Harder <radhermit@×××××.com> in bug #296735 for initial ebuild updates and patches. |
7 |
(Portage version: 2.1.7.17/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.24 dev-libs/stfl/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/stfl/ChangeLog?rev=1.24&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/stfl/ChangeLog?rev=1.24&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/stfl/ChangeLog?r1=1.23&r2=1.24 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/stfl/ChangeLog,v |
19 |
retrieving revision 1.23 |
20 |
retrieving revision 1.24 |
21 |
diff -u -r1.23 -r1.24 |
22 |
--- ChangeLog 30 Aug 2009 12:24:35 -0000 1.23 |
23 |
+++ ChangeLog 3 Apr 2010 13:41:00 -0000 1.24 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for dev-libs/stfl |
26 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/ChangeLog,v 1.23 2009/08/30 12:24:35 tanderson Exp $ |
28 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/ChangeLog,v 1.24 2010/04/03 13:41:00 tanderson Exp $ |
30 |
+ |
31 |
+*stfl-0.21 (03 Apr 2010) |
32 |
+ |
33 |
+ 03 Apr 2010; Thomas Anderson <tanderson@g.o> +stfl-0.21.ebuild, |
34 |
+ +files/stfl-0.21-python.patch: |
35 |
+ Add dev-libs/stfl-0.21, thanks to Tim Harder <radhermit@×××××.com> in bug |
36 |
+ #296735 for initial ebuild updates and patches. |
37 |
|
38 |
30 Aug 2009; Thomas Anderson <tanderson@g.o> stfl-0.19.ebuild: |
39 |
stable amd64, bug 281352 |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-libs/stfl/stfl-0.21.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/stfl/stfl-0.21.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/stfl/stfl-0.21.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: stfl-0.21.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/stfl-0.21.ebuild,v 1.1 2010/04/03 13:41:00 tanderson Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
inherit eutils multilib perl-module python |
56 |
|
57 |
DESCRIPTION="A library which implements a curses-based widget set for text terminals" |
58 |
HOMEPAGE="http://www.clifford.at/stfl/" |
59 |
SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz" |
60 |
|
61 |
LICENSE="LGPL-3" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~ppc ~x86" |
64 |
|
65 |
IUSE="examples perl python ruby" |
66 |
|
67 |
COMMON_DEPEND="sys-libs/ncurses[unicode] |
68 |
perl? ( dev-lang/perl ) |
69 |
ruby? ( dev-lang/ruby ) |
70 |
python? ( dev-lang/python )" |
71 |
|
72 |
DEPEND="${COMMON_DEPEND} |
73 |
perl? ( dev-lang/swig ) |
74 |
ruby? ( dev-lang/swig )" |
75 |
|
76 |
RDEPEND="${COMMON_DEPEND}" |
77 |
|
78 |
src_prepare() { |
79 |
sed -i \ |
80 |
-e "s!-Os -ggdb!!" \ |
81 |
-e "s!^\(all:.*\) example!\1!" \ |
82 |
Makefile |
83 |
|
84 |
epatch "${FILESDIR}/${P}-python.patch" |
85 |
|
86 |
if ! use perl; then |
87 |
echo "FOUND_PERL5=0" >>Makefile.cfg |
88 |
fi |
89 |
|
90 |
if ! use ruby; then |
91 |
echo "FOUND_RUBY=0" >>Makefile.cfg |
92 |
fi |
93 |
|
94 |
if ! use python; then |
95 |
echo "FOUND_PYTHON=0" >>Makefile.cfg |
96 |
fi |
97 |
} |
98 |
|
99 |
src_compile() { |
100 |
emake CC="$(tc-getCC)" || die "make failed" |
101 |
} |
102 |
|
103 |
src_install() { |
104 |
PYTHON |
105 |
emake prefix="/usr" DESTDIR="${D}" libdir="$(get_libdir)" install || die "make install failed" |
106 |
|
107 |
dodoc README |
108 |
|
109 |
local exdir="/usr/share/doc/${PF}/examples" |
110 |
if use examples; then |
111 |
insinto ${exdir} |
112 |
doins example.{c,stfl} |
113 |
insinto ${exdir}/python |
114 |
doins python/example.py |
115 |
if use perl; then |
116 |
insinto ${exdir}/perl |
117 |
doins perl5/example.pl |
118 |
fi |
119 |
if use ruby; then |
120 |
insinto ${exdir}/ruby |
121 |
doins ruby/example.rb |
122 |
fi |
123 |
fi |
124 |
|
125 |
fixlocalpod |
126 |
} |
127 |
|
128 |
pkg_postinst() { |
129 |
use python && python_mod_optimize usr/$(get_libdir)/python$(python_get_version)/site-packages/stfl.py |
130 |
} |
131 |
|
132 |
pkg_postrm() { |
133 |
python_mod_cleanup |
134 |
} |