From: | "Alin Nastac (mrness)" <mrness@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-mobilephone/gammu: ChangeLog gammu-1.15.0.ebuild |
Date: | Sat, 01 Dec 2007 09:36:26 |
Message-Id: | E1IyOlm-0001B9-Cf@stork.gentoo.org |
1 | mrness 07/12/01 09:36:18 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gammu-1.15.0.ebuild |
5 | Log: |
6 | Version bump (#200881). |
7 | (Portage version: 2.1.3.16) |
8 | |
9 | Revision Changes Path |
10 | 1.46 app-mobilephone/gammu/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gammu/ChangeLog?rev=1.46&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gammu/ChangeLog?rev=1.46&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gammu/ChangeLog?r1=1.45&r2=1.46 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v |
19 | retrieving revision 1.45 |
20 | retrieving revision 1.46 |
21 | diff -u -r1.45 -r1.46 |
22 | --- ChangeLog 6 Sep 2007 10:03:35 -0000 1.45 |
23 | +++ ChangeLog 1 Dec 2007 09:36:17 -0000 1.46 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for app-mobilephone/gammu |
26 | # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v 1.45 2007/09/06 10:03:35 mrness Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/gammu/ChangeLog,v 1.46 2007/12/01 09:36:17 mrness Exp $ |
29 | + |
30 | +*gammu-1.15.0 (01 Dec 2007) |
31 | + |
32 | + 01 Dec 2007; Alin Năstac <mrness@g.o> +gammu-1.15.0.ebuild: |
33 | + Version bump (#200881). |
34 | |
35 | *gammu-1.13.0 (06 Sep 2007) |
36 | |
37 | |
38 | |
39 | |
40 | 1.1 app-mobilephone/gammu/gammu-1.15.0.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gammu/gammu-1.15.0.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-mobilephone/gammu/gammu-1.15.0.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: gammu-1.15.0.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/app-mobilephone/gammu/gammu-1.15.0.ebuild,v 1.1 2007/12/01 09:36:17 mrness Exp $ |
50 | |
51 | inherit multilib |
52 | |
53 | DESCRIPTION="a fork of the gnokii project, a tool to handle your cellular phone" |
54 | HOMEPAGE="http://www.gammu.org" |
55 | SRC_URI="ftp://dl.cihar.com/gammu/releases/${P}.tar.bz2" |
56 | |
57 | LICENSE="GPL-2" |
58 | SLOT="0" |
59 | KEYWORDS="~amd64 ~ppc ~x86" |
60 | IUSE="debug bluetooth irda mysql postgres nls" |
61 | |
62 | RDEPEND="bluetooth? ( net-wireless/bluez-libs ) |
63 | mysql? ( virtual/mysql ) |
64 | postgres? ( dev-db/postgresql ) |
65 | dev-util/dialog" |
66 | DEPEND="${RDEPEND} |
67 | irda? ( virtual/os-headers ) |
68 | nls? ( sys-devel/gettext ) |
69 | dev-util/cmake" |
70 | |
71 | # Supported languages and translated documentation |
72 | # Be sure all languages are prefixed with a single space! |
73 | MY_AVAILABLE_LINGUAS=" cs de es it pl ru" |
74 | IUSE="${IUSE} ${MY_AVAILABLE_LINGUAS// / linguas_}" |
75 | |
76 | src_unpack() { |
77 | unpack ${A} |
78 | |
79 | # sys-devel/gettext is needed for creating .mo files |
80 | cd "${S}/locale" |
81 | local lang |
82 | for lang in ${MY_AVAILABLE_LINGUAS} ; do |
83 | if ! use linguas_${lang} ; then |
84 | sed -i -e "/^[[:space:]]*${lang}[[:space:]]*$/d" CMakeLists.txt |
85 | fi |
86 | done |
87 | } |
88 | |
89 | my_use_with() { |
90 | local WITH_PREFIX |
91 | if [ -n "${2}" ]; then |
92 | WITH_PREFIX="-DWITH_${2}" |
93 | else |
94 | WITH_PREFIX="-DWITH_${1}" |
95 | fi |
96 | if use $1 ; then |
97 | echo ${WITH_PREFIX}=ON |
98 | else |
99 | echo ${WITH_PREFIX}=OFF |
100 | fi |
101 | } |
102 | |
103 | src_compile() { |
104 | local myconf="$(my_use_with bluetooth Bluez) \ |
105 | $(my_use_with irda IrDA) \ |
106 | $(my_use_with mysql MySQL) \ |
107 | $(my_use_with postgres Postgres)" |
108 | use debug && myconf="${myconf} -DCMAKE_BUILD_TYPE=Debug" |
109 | |
110 | mkdir "${S}/build" && \ |
111 | cd "${S}/build" && \ |
112 | cmake .. \ |
113 | -DCMAKE_INSTALL_PREFIX=/usr \ |
114 | -DINSTALL_LIB_DIR=/usr/$(get_libdir) \ |
115 | -DINSTALL_DOC_DIR="/usr/share/doc/${P}" \ |
116 | -DENABLE_SHARED=ON \ |
117 | -DHAVE_SIN=NO \ |
118 | ${myconf} || die "cmake failed" |
119 | emake || die "make failed" |
120 | } |
121 | |
122 | src_install () { |
123 | cd "${S}/build" |
124 | make DESTDIR="${D}" install || die "install failed" |
125 | } |
126 | |
127 | |
128 | |
129 | -- |
130 | gentoo-commits@g.o mailing list |