Gentoo Archives: gentoo-commits

From: "Alin Nastac (mrness)" <mrness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-mobilephone/gnokii: ChangeLog gnokii-0.6.26-r1.ebuild gnokii-0.6.26.ebuild
Date: Sun, 01 Jun 2008 21:44:35
Message-Id: E1K2vLp-0008Gl-FE@stork.gentoo.org
1 mrness 08/06/01 21:44:29
2
3 Modified: ChangeLog
4 Added: gnokii-0.6.26-r1.ebuild
5 Removed: gnokii-0.6.26.ebuild
6 Log:
7 Improve ebuild (#215378).
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.75 app-mobilephone/gnokii/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/ChangeLog?rev=1.75&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/ChangeLog?rev=1.75&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/ChangeLog?r1=1.74&r2=1.75
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v
20 retrieving revision 1.74
21 retrieving revision 1.75
22 diff -u -r1.74 -r1.75
23 --- ChangeLog 1 Jun 2008 12:18:38 -0000 1.74
24 +++ ChangeLog 1 Jun 2008 21:44:29 -0000 1.75
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-mobilephone/gnokii
27 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.74 2008/06/01 12:18:38 mrness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/ChangeLog,v 1.75 2008/06/01 21:44:29 mrness Exp $
30 +
31 +*gnokii-0.6.26-r1 (01 Jun 2008)
32 +
33 + 01 Jun 2008; Alin Năstac <mrness@g.o> -gnokii-0.6.26.ebuild,
34 + +gnokii-0.6.26-r1.ebuild:
35 + Improve ebuild (#215378).
36
37 *gnokii-0.6.26 (01 Jun 2008)
38
39
40
41
42 1.1 app-mobilephone/gnokii/gnokii-0.6.26-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.26-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.26-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gnokii-0.6.26-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gnokii/gnokii-0.6.26-r1.ebuild,v 1.1 2008/06/01 21:44:29 mrness Exp $
52
53 WANT_AUTOMAKE="none"
54
55 inherit eutils linux-info
56
57 DESCRIPTION="user space driver and tools for use with mobile phones"
58 HOMEPAGE="http://www.gnokii.org/"
59 SRC_URI="http://www.gnokii.org/download/${PN}/${P}.tar.bz2"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
64 IUSE="nls bluetooth ical irda sms postgres mysql usb X debug"
65
66 RESTRICT="test" #test fails; maybe it will work in the future, but till then...
67
68 RDEPEND="X? ( >=x11-libs/gtk+-2.8.19 )
69 bluetooth? ( >=net-wireless/bluez-libs-2.25 )
70 sms? ( >=dev-libs/glib-2.10.3
71 postgres? ( >=virtual/postgresql-server-8.0 )
72 mysql? ( >=virtual/mysql-4.1 )
73 )
74 ical? ( >=dev-libs/libical-0.26.6 )
75 usb? ( >=dev-libs/libusb-0.1.11 )"
76 DEPEND="${RDEPEND}
77 irda? ( virtual/os-headers )
78 nls? ( >=sys-devel/gettext-0.14.5 )"
79
80 CONFIG_CHECK="UNIX98_PTYS"
81
82 # Supported languages and translated documentation
83 # Be sure all languages are prefixed with a single space!
84 MY_AVAILABLE_LINGUAS=" cs de et fi fr it nl pl pt sk sl sv zh_CN"
85 IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}"
86
87 src_compile() {
88 strip-linguas ${MY_AVAILABLE_LINGUAS}
89
90 local config_xdebug="--disable-xdebug"
91 use X && use debug && config_xdebug="--enable-xdebug"
92
93 econf \
94 $(use_enable nls) \
95 $(use_enable ical libical) \
96 $(use_enable usb libusb) \
97 $(use_enable irda) \
98 $(use_enable bluetooth) \
99 $(use_with X x) \
100 $(use_with sms smsd) \
101 $(use_enable debug fulldebug) \
102 ${config_xdebug} \
103 $(use_enable debug rlpdebug) \
104 --enable-security \
105 --disable-unix98test \
106 --disable-libpcsclite \
107 || die "configure failed"
108
109 emake -j1 || die "make failed"
110 }
111
112 src_install() {
113 einstall || die "make install failed"
114
115 insinto /etc
116 doins Docs/sample/gnokiirc
117 sed -i -e 's:/usr/local:/usr:' "${D}/etc/gnokiirc"
118
119 # only one file needs suid root to make a pseudo device
120 fperms 4755 /usr/sbin/mgnokiidev
121
122 if use X; then
123 insinto /usr/share/pixmaps
124 newins Docs/sample/logo/gnokii.xpm xgnokii.xpm
125 fi
126
127 if use sms; then
128 pushd "${S}/smsd"
129 insinto /usr/share/doc/${PN}/smsd
130 use mysql && doins sms.tables.mysql.sql README.MySQL
131 use postgres && doins sms.tables.pq.sql
132 doins README ChangeLog README.Tru64 action
133 popd
134 fi
135 }
136
137 pkg_postinst() {
138 elog "Make sure the user that runs gnokii has read/write access to the device"
139 elog "which your phone is connected to."
140 elog "The simple way of doing that is to add your user to the uucp group."
141 }
142
143
144
145 --
146 gentoo-commits@l.g.o mailing list