1 |
tomjbe 12/06/21 06:11:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: unixcw-3.0.2.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.1.10.65/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.6 media-radio/unixcw/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/unixcw/ChangeLog?rev=1.6&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/unixcw/ChangeLog?rev=1.6&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/unixcw/ChangeLog?r1=1.5&r2=1.6 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-radio/unixcw/ChangeLog,v |
20 |
retrieving revision 1.5 |
21 |
retrieving revision 1.6 |
22 |
diff -u -r1.5 -r1.6 |
23 |
--- ChangeLog 3 May 2012 03:48:56 -0000 1.5 |
24 |
+++ ChangeLog 21 Jun 2012 06:11:00 -0000 1.6 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for media-radio/unixcw |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-radio/unixcw/ChangeLog,v 1.5 2012/05/03 03:48:56 jdhore Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-radio/unixcw/ChangeLog,v 1.6 2012/06/21 06:11:00 tomjbe Exp $ |
30 |
+ |
31 |
+*unixcw-3.0.2 (21 Jun 2012) |
32 |
+ |
33 |
+ 21 Jun 2012; Thomas Beierlein <tomjbe@g.o> +unixcw-3.0.2.ebuild, |
34 |
+ +files/unixcw-3.0.2-config.patch, +files/unixcw-3.0.2-destdir.patch, |
35 |
+ +files/unixcw-3.0.2-parallel-make.patch, +files/unixcw-3.0.2-qt4.patch: |
36 |
+ Version bump |
37 |
|
38 |
03 May 2012; Jeff Horelick <jdhore@g.o> unixcw-2.3-r6.ebuild: |
39 |
dev-util/pkgconfig -> virtual/pkgconfig |
40 |
|
41 |
|
42 |
|
43 |
1.1 media-radio/unixcw/unixcw-3.0.2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/unixcw/unixcw-3.0.2.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-radio/unixcw/unixcw-3.0.2.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: unixcw-3.0.2.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/media-radio/unixcw/unixcw-3.0.2.ebuild,v 1.1 2012/06/21 06:11:00 tomjbe Exp $ |
53 |
|
54 |
EAPI=4 |
55 |
|
56 |
inherit autotools eutils flag-o-matic multilib |
57 |
|
58 |
DESCRIPTION="A package of programs that fit together to form a morse code tutor program." |
59 |
HOMEPAGE="http://unixcw.sourceforge.net" |
60 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~ppc ~x86" |
65 |
IUSE="ncurses suid qt4" |
66 |
|
67 |
RDEPEND="ncurses? ( sys-libs/ncurses ) |
68 |
qt4? ( x11-libs/qt-gui:4[qt3support] )" |
69 |
DEPEND="${RDEPEND} |
70 |
virtual/pkgconfig |
71 |
!<=app-misc/cw-1.0.16-r1" |
72 |
|
73 |
src_prepare() { |
74 |
append-cflags -std=gnu99 |
75 |
epatch \ |
76 |
"${FILESDIR}"/${P}-config.patch \ |
77 |
"${FILESDIR}"/${P}-destdir.patch \ |
78 |
"${FILESDIR}"/${P}-parallel-make.patch \ |
79 |
"${FILESDIR}"/${P}-qt4.patch |
80 |
eautoreconf |
81 |
} |
82 |
|
83 |
src_configure() { |
84 |
econf --libdir=/usr/$(get_libdir) \ |
85 |
$(use_enable ncurses) \ |
86 |
$(use_enable qt4) |
87 |
} |
88 |
|
89 |
src_install() { |
90 |
emake DESTDIR="${D}" install |
91 |
dodoc README |
92 |
if ! use suid ; then |
93 |
fperms 711 /usr/bin/cw |
94 |
if use ncurses ; then |
95 |
fperms 711 /usr/bin/cwcp |
96 |
fi |
97 |
if use qt4 ; then |
98 |
fperms 711 /usr/bin/xcwcp |
99 |
fi |
100 |
fi |
101 |
} |
102 |
|
103 |
pkg_postinst() { |
104 |
if use suid ; then |
105 |
ewarn "You have choosen to install 'cw', 'cwcp' and 'xcwcp' setuid" |
106 |
ewarn "by setting USE=suid." |
107 |
ewarn "Be aware that this is a security risk and not recommended." |
108 |
ewarn "" |
109 |
ewarn "These files do only need root access if you want to use the" |
110 |
ewarn "PC speaker for morse sidetone output. You can alternativly" |
111 |
ewarn "drop USE=suid and use sudo." |
112 |
else |
113 |
elog "Be aware that 'cw', 'cwcp' and 'xcwcp' needs root access if" |
114 |
elog "you want to use the PC speaker for morse sidetone output." |
115 |
elog "You can call the programs via sudo for that (see 'man sudo')." |
116 |
fi |
117 |
} |