Gentoo Archives: gentoo-commits

From: "Torsten Veller (tove)" <tove@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-misc/pal: ChangeLog pal-0.4.3.ebuild
Date: Sun, 05 Oct 2008 11:49:55
Message-Id: E1KmS7T-0001Ev-Tr@stork.gentoo.org
1 tove 08/10/05 11:49:51
2
3 Modified: ChangeLog
4 Added: pal-0.4.3.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.2_rc11/cvs/Linux 2.6.26-tuxonice i686)
8
9 Revision Changes Path
10 1.25 app-misc/pal/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/pal/ChangeLog?rev=1.25&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/pal/ChangeLog?rev=1.25&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/pal/ChangeLog?r1=1.24&r2=1.25
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-misc/pal/ChangeLog,v
19 retrieving revision 1.24
20 retrieving revision 1.25
21 diff -u -r1.24 -r1.25
22 --- ChangeLog 31 Jul 2008 16:47:39 -0000 1.24
23 +++ ChangeLog 5 Oct 2008 11:49:51 -0000 1.25
24 @@ -1,6 +1,12 @@
25 # ChangeLog for app-misc/pal
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-misc/pal/ChangeLog,v 1.24 2008/07/31 16:47:39 ulm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-misc/pal/ChangeLog,v 1.25 2008/10/05 11:49:51 tove Exp $
29 +
30 +*pal-0.4.3 (05 Oct 2008)
31 +
32 + 05 Oct 2008; Torsten Veller <tove@g.o> +files/0.4.3-ldflags.patch,
33 + +files/0.4.3-strip.patch, +pal-0.4.3.ebuild:
34 + Version bump
35
36 31 Jul 2008; Ulrich Mueller <ulm@g.o> metadata.xml:
37 Add USE flag description to metadata wrt GLEP 56.
38
39
40
41 1.1 app-misc/pal/pal-0.4.3.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/pal/pal-0.4.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/pal/pal-0.4.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: pal-0.4.3.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/app-misc/pal/pal-0.4.3.ebuild,v 1.1 2008/10/05 11:49:51 tove Exp $
51
52 inherit toolchain-funcs eutils
53
54 DESCRIPTION="pal command-line calendar program"
55 HOMEPAGE="http://palcal.sourceforge.net/"
56 SRC_URI="mirror://sourceforge/palcal/${P}.tgz"
57
58 LICENSE="GPL-2"
59 SLOT="0"
60 KEYWORDS="~amd64 ~hppa ~ppc ~x86"
61 IUSE="nls unicode"
62
63 RDEPEND=">=dev-libs/glib-2.0
64 sys-libs/readline
65 sys-libs/ncurses
66 nls? ( virtual/libintl )"
67
68 DEPEND="${RDEPEND}
69 dev-util/pkgconfig
70 nls? ( sys-devel/gettext )"
71
72 S="${WORKDIR}/${P}/src"
73
74 src_unpack() {
75 unpack ${A}
76 cd "${S}"
77 epatch "${FILESDIR}"/${PV}-strip.patch
78 epatch "${FILESDIR}"/${PV}-ldflags.patch
79 if use unicode ; then
80 if built_with_use sys-libs/ncurses unicode ; then
81 sed -i "/^LIBS/s/-lncurses/&w/" "${S}"/Makefile || die
82 else
83 ewarn "Rebuild sys-libs/ncurses with unicode before you try"
84 ewarn "to build app-misc/pal with unicode support!"
85 fi
86 fi
87 }
88
89 src_compile() {
90 emake CC="$(tc-getCC)" OPT="${CFLAGS}" LDOPT="${LDFLAGS}" \
91 || die "emake failed"
92 }
93
94 src_install() {
95 make DESTDIR="${D}" install-man install-bin install-share \
96 || die "make install failed"
97
98 if use nls; then
99 make DESTDIR="${D}" install-mo || die "make install-mo failed"
100 fi
101
102 dodoc "${WORKDIR}"/${P}/{ChangeLog,doc/example.css} || die "dodoc failed"
103 }