1 |
commit: e1699415ab80aa18fb04f49f5eba2b7dc70386c8 |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue May 3 23:36:54 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 4 00:08:37 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1699415 |
7 |
|
8 |
net-misc/iaxmodem: remove old versions |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
net-misc/iaxmodem/iaxmodem-1.2.0.ebuild | 106 -------------------------------- |
13 |
net-misc/iaxmodem/iaxmodem-1.3.0.ebuild | 106 -------------------------------- |
14 |
2 files changed, 212 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/iaxmodem/iaxmodem-1.2.0.ebuild b/net-misc/iaxmodem/iaxmodem-1.2.0.ebuild |
17 |
deleted file mode 100644 |
18 |
index 98a1320..0000000 |
19 |
--- a/net-misc/iaxmodem/iaxmodem-1.2.0.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,106 +0,0 @@ |
22 |
-# Copyright 1999-2016 Gentoo Foundation |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
-# $Id$ |
25 |
- |
26 |
-EAPI="5" |
27 |
- |
28 |
-inherit eutils toolchain-funcs multilib |
29 |
- |
30 |
-DESCRIPTION="Software modem that uses an IAX channel instead of a traditional phone line" |
31 |
-HOMEPAGE="http://sourceforge.net/projects/iaxmodem/" |
32 |
-SRC_URI="mirror://sourceforge/iaxmodem/${P}.tar.gz" |
33 |
- |
34 |
-LICENSE="GPL-2" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="~amd64 ~x86" |
37 |
- |
38 |
-IUSE="" |
39 |
- |
40 |
-RDEPEND="media-libs/tiff:= |
41 |
- sys-process/procps" |
42 |
- |
43 |
-DEPEND="${RDEPEND}" |
44 |
- |
45 |
-src_prepare() { |
46 |
- # fix header file position |
47 |
- sed -i -e 's:iax/iax-client\.h:iax-client.h:g' iaxmodem.c || die |
48 |
- |
49 |
- # fix broken line terminators |
50 |
- sed -i -e 's:\r::g' -e 's:--s$:--:g' -e 's:$:\r:g' iaxmodem.inf || die |
51 |
- |
52 |
- # fix installation of libiax2 headers (though we don't need them) |
53 |
- sed -i -e 's: \(\$(includedir)/\): $(DESTDIR)\1:g' lib/libiax2/src/Makefile.in || die |
54 |
- |
55 |
- # patch configure (we compile libs for ourself) |
56 |
- sed -i -e 's:^\(cd\|./configure\):# \1:g' configure || die |
57 |
- sed -i -e 's:build-libiax build-libspandsp ::g' Makefile.in || die |
58 |
- |
59 |
- # fix dumb x86_64 libdir handling |
60 |
- sed -i -e 's: \(x86_64-\*)\): _DISABLED_\1:g' lib/spandsp/configure || die |
61 |
-} |
62 |
- |
63 |
-src_configure() { |
64 |
- cd "${S}/lib/libiax2" || die |
65 |
- econf --disable-static \ |
66 |
- --libdir=/usr/$(get_libdir)/iaxmodem \ |
67 |
- --datadir=/usr/share/iaxmodem/libiax2 |
68 |
- |
69 |
- cd "${S}/lib/spandsp" || die |
70 |
- econf --disable-static \ |
71 |
- --libdir=/usr/$(get_libdir)/iaxmodem \ |
72 |
- --datadir=/usr/share/iaxmodem |
73 |
- |
74 |
- cd "${S}" |
75 |
- ./configure || die "configure iaxmodem failed" || die |
76 |
-} |
77 |
- |
78 |
-src_compile() { |
79 |
- cd "${S}/lib/libiax2" || die |
80 |
- emake |
81 |
- |
82 |
- cd "${S}/lib/spandsp" || die |
83 |
- emake |
84 |
- |
85 |
- cd "${S}" |
86 |
- emake OBJS="iaxmodem.o" CC=$(tc-getCC) \ |
87 |
- LDFLAGS="${LDFLAGS} -Wl,-rpath,/usr/$(get_libdir)/iaxmodem \ |
88 |
- -Llib/spandsp/src/.libs -Llib/libiax2/src/.libs -lm -lutil -ltiff -lspandsp -liax" |
89 |
-} |
90 |
- |
91 |
-src_install() { |
92 |
- cd "${S}/lib/libiax2" || die |
93 |
- emake DESTDIR="${D}" install |
94 |
- |
95 |
- cd "${S}/lib/spandsp" || die |
96 |
- emake DESTDIR="${D}" install |
97 |
- |
98 |
- cd "${S}" |
99 |
- dosbin iaxmodem |
100 |
- |
101 |
- # remove libiax and spandsp headers, we don't need them |
102 |
- rm -rf "${D}usr/include" "${D}usr/bin/iax-config" || die |
103 |
- |
104 |
- # install init-script + conf |
105 |
- newinitd "${FILESDIR}/iaxmodem.initd" iaxmodem |
106 |
- newconfd "${FILESDIR}/iaxmodem.confd" iaxmodem |
107 |
- |
108 |
- # install docs |
109 |
- doman iaxmodem.1 |
110 |
- newdoc CHANGES ChangeLog |
111 |
- newdoc lib/libiax2/ChangeLog ChangeLog.libiax2 |
112 |
- newdoc lib/spandsp/ChangeLog ChangeLog.spandsp |
113 |
- dodoc FAQ README lib/spandsp/DueDiligence |
114 |
- |
115 |
- # install sample configs |
116 |
- insinto /etc/iaxmodem |
117 |
- newins "${FILESDIR}/iaxmodem.cfg" default |
118 |
- insinto /usr/share/iaxmodem |
119 |
- doins config.ttyIAX iaxmodem-cfg.ttyIAX iaxmodem.inf |
120 |
- |
121 |
- # install logrotate rule |
122 |
- insinto /etc/logrotate.d |
123 |
- newins "${FILESDIR}/iaxmodem.logrotated" iaxmodem |
124 |
- |
125 |
- # create log dir |
126 |
- keepdir /var/log/iaxmodem |
127 |
-} |
128 |
|
129 |
diff --git a/net-misc/iaxmodem/iaxmodem-1.3.0.ebuild b/net-misc/iaxmodem/iaxmodem-1.3.0.ebuild |
130 |
deleted file mode 100644 |
131 |
index f0ee6ee..0000000 |
132 |
--- a/net-misc/iaxmodem/iaxmodem-1.3.0.ebuild |
133 |
+++ /dev/null |
134 |
@@ -1,106 +0,0 @@ |
135 |
-# Copyright 1999-2016 Gentoo Foundation |
136 |
-# Distributed under the terms of the GNU General Public License v2 |
137 |
-# $Id$ |
138 |
- |
139 |
-EAPI="5" |
140 |
- |
141 |
-inherit eutils toolchain-funcs multilib |
142 |
- |
143 |
-DESCRIPTION="Software modem that uses an IAX channel instead of a traditional phone line" |
144 |
-HOMEPAGE="http://sourceforge.net/projects/iaxmodem/" |
145 |
-SRC_URI="mirror://sourceforge/iaxmodem/${P}.tar.gz" |
146 |
- |
147 |
-LICENSE="GPL-2" |
148 |
-SLOT="0" |
149 |
-KEYWORDS="~amd64 ~x86" |
150 |
- |
151 |
-IUSE="" |
152 |
- |
153 |
-RDEPEND="media-libs/tiff:= |
154 |
- sys-process/procps" |
155 |
- |
156 |
-DEPEND="${RDEPEND}" |
157 |
- |
158 |
-src_prepare() { |
159 |
- # fix header file position |
160 |
- sed -i -e 's:iax/iax-client\.h:iax-client.h:g' iaxmodem.c || die |
161 |
- |
162 |
- # fix broken line terminators |
163 |
- sed -i -e 's:\r::g' -e 's:--s$:--:g' -e 's:$:\r:g' iaxmodem.inf || die |
164 |
- |
165 |
- # fix installation of libiax2 headers (though we don't need them) |
166 |
- sed -i -e 's: \(\$(includedir)/\): $(DESTDIR)\1:g' lib/libiax2/src/Makefile.in || die |
167 |
- |
168 |
- # patch configure (we compile libs for ourself) |
169 |
- sed -i -e 's:^\(cd\|./configure\):# \1:g' configure || die |
170 |
- sed -i -e 's:build-libiax build-libspandsp ::g' Makefile.in || die |
171 |
- |
172 |
- # fix dumb x86_64 libdir handling |
173 |
- sed -i -e 's: \(x86_64-\*)\): _DISABLED_\1:g' lib/spandsp/configure || die |
174 |
-} |
175 |
- |
176 |
-src_configure() { |
177 |
- cd "${S}/lib/libiax2" || die |
178 |
- econf --disable-static \ |
179 |
- --libdir=/usr/$(get_libdir)/iaxmodem \ |
180 |
- --datadir=/usr/share/iaxmodem/libiax2 |
181 |
- |
182 |
- cd "${S}/lib/spandsp" || die |
183 |
- econf --disable-static \ |
184 |
- --libdir=/usr/$(get_libdir)/iaxmodem \ |
185 |
- --datadir=/usr/share/iaxmodem |
186 |
- |
187 |
- cd "${S}" |
188 |
- ./configure || die "configure iaxmodem failed" |
189 |
-} |
190 |
- |
191 |
-src_compile() { |
192 |
- cd "${S}/lib/libiax2" || die |
193 |
- emake |
194 |
- |
195 |
- cd "${S}/lib/spandsp" || die |
196 |
- emake |
197 |
- |
198 |
- cd "${S}" |
199 |
- emake OBJS="iaxmodem.o" CC=$(tc-getCC) \ |
200 |
- LDFLAGS="${LDFLAGS} -Wl,-rpath,/usr/$(get_libdir)/iaxmodem \ |
201 |
- -Llib/spandsp/src/.libs -Llib/libiax2/src/.libs -lm -lutil -ltiff -lspandsp -liax" |
202 |
-} |
203 |
- |
204 |
-src_install() { |
205 |
- cd "${S}/lib/libiax2" || die |
206 |
- emake DESTDIR="${D}" install |
207 |
- |
208 |
- cd "${S}/lib/spandsp" || die |
209 |
- emake DESTDIR="${D}" install |
210 |
- |
211 |
- cd "${S}" |
212 |
- dosbin iaxmodem |
213 |
- |
214 |
- # remove libiax and spandsp headers, we don't need them |
215 |
- rm -rf "${D}usr/include" "${D}usr/bin/iax-config" || die |
216 |
- |
217 |
- # install init-script + conf |
218 |
- newinitd "${FILESDIR}/iaxmodem.initd" iaxmodem |
219 |
- newconfd "${FILESDIR}/iaxmodem.confd" iaxmodem |
220 |
- |
221 |
- # install docs |
222 |
- doman iaxmodem.1 |
223 |
- newdoc CHANGES ChangeLog |
224 |
- newdoc lib/libiax2/ChangeLog ChangeLog.libiax2 |
225 |
- newdoc lib/spandsp/ChangeLog ChangeLog.spandsp |
226 |
- dodoc FAQ README lib/spandsp/DueDiligence |
227 |
- |
228 |
- # install sample configs |
229 |
- insinto /etc/iaxmodem |
230 |
- newins "${FILESDIR}/iaxmodem.cfg" default |
231 |
- insinto /usr/share/iaxmodem |
232 |
- doins config.ttyIAX iaxmodem-cfg.ttyIAX iaxmodem.inf |
233 |
- |
234 |
- # install logrotate rule |
235 |
- insinto /etc/logrotate.d |
236 |
- newins "${FILESDIR}/iaxmodem.logrotated" iaxmodem |
237 |
- |
238 |
- # create log dir |
239 |
- keepdir /var/log/iaxmodem |
240 |
-} |