diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2010-05-07 11:31:11 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2010-05-07 11:31:11 +0000 |
commit | e25c03a3a0ecd33e4fed8a9708b8b96d3f1c995f (patch) | |
tree | 3cac9fbb393e19c0fd383b597f9bf88315a05052 /net-misc/iaxmodem | |
parent | installing logrotate stuff unconditionally, solving bug #258178. (diff) | |
download | gentoo-2-e25c03a3a0ecd33e4fed8a9708b8b96d3f1c995f.tar.gz gentoo-2-e25c03a3a0ecd33e4fed8a9708b8b96d3f1c995f.tar.bz2 gentoo-2-e25c03a3a0ecd33e4fed8a9708b8b96d3f1c995f.zip |
removed old version.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/iaxmodem')
-rw-r--r-- | net-misc/iaxmodem/ChangeLog | 6 | ||||
-rw-r--r-- | net-misc/iaxmodem/iaxmodem-1.1.1.ebuild | 104 |
2 files changed, 5 insertions, 105 deletions
diff --git a/net-misc/iaxmodem/ChangeLog b/net-misc/iaxmodem/ChangeLog index 6a2b3ecd13fb..fae5fbab6cec 100644 --- a/net-misc/iaxmodem/ChangeLog +++ b/net-misc/iaxmodem/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-misc/iaxmodem # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/iaxmodem/ChangeLog,v 1.4 2010/05/07 11:29:32 sbriesen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/iaxmodem/ChangeLog,v 1.5 2010/05/07 11:31:11 sbriesen Exp $ + + 07 May 2010; Stefan Briesenick <sbriesen@gentoo.org> + -iaxmodem-1.1.1.ebuild: + removed old version. 07 May 2010; Stefan Briesenick <sbriesen@gentoo.org> iaxmodem-1.2.0.ebuild: diff --git a/net-misc/iaxmodem/iaxmodem-1.1.1.ebuild b/net-misc/iaxmodem/iaxmodem-1.1.1.ebuild deleted file mode 100644 index d85ef2032f21..000000000000 --- a/net-misc/iaxmodem/iaxmodem-1.1.1.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/iaxmodem/iaxmodem-1.1.1.ebuild,v 1.2 2008/10/25 01:29:57 sbriesen Exp $ - -inherit eutils toolchain-funcs multilib - -DESCRIPTION="Software modem that uses an IAX channel instead of a traditional phone line" -HOMEPAGE="http://sourceforge.net/projects/iaxmodem/" -SRC_URI="mirror://sourceforge/iaxmodem/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64" - -IUSE="logrotate" - -RDEPEND="media-libs/tiff - sys-process/procps - logrotate? ( app-admin/logrotate )" - -DEPEND="${RDEPEND} - sys-apps/sed" - -src_unpack() { - unpack ${A} - cd "${S}" - - # fix header file position - sed -i -e 's:iax/iax-client\.h:iax-client.h:g' iaxmodem.c - - # fix broken line terminators - sed -i -e 's:\r::g' -e 's:--s$:--:g' -e 's:$:\r:g' iaxmodem.inf - - # fix installation of libiax2 headers (though we don't need them) - sed -i -e 's: \(\$(includedir)/\): $(DESTDIR)\1:g' lib/libiax2/src/Makefile.in - - # patch configure (we compile libs for ourself) - sed -i -e 's:^\(cd\|./configure\):# \1:g' configure - sed -i -e 's:build-libiax build-libspandsp ::g' Makefile.in - - # fix dumb x86_64 libdir handling - sed -i -e 's: \(x86_64-\*)\): _DISABLED_\1:g' lib/spandsp/configure -} - -src_compile() { - cd "${S}/lib/libiax2" - econf \ - --libdir=/usr/$(get_libdir)/iaxmodem \ - --datadir=/usr/share/iaxmodem/libiax2 || die "econf libiax2 failed" - emake || die "emake libiax2 failed" - - cd "${S}/lib/spandsp" - econf \ - --libdir=/usr/$(get_libdir)/iaxmodem \ - --datadir=/usr/share/iaxmodem || die "econf spandsp failed" - emake || die "emake spandsp failed" - - cd "${S}" - ./configure || die "configure iaxmodem failed" - emake OBJS="iaxmodem.o" CC=$(tc-getCC) \ - LDFLAGS="${LDFLAGS} -Wl,-rpath,/usr/$(get_libdir)/iaxmodem \ - -Llib/spandsp/src/.libs -Llib/libiax2/src/.libs -lm -lutil -ltiff -lspandsp -liax" \ - || die "emake iaxmodem failed" -} - -src_install() { - cd "${S}/lib/libiax2" - make DESTDIR="${D}" install || die "install libiax2 failed" - - cd "${S}/lib/spandsp" - make DESTDIR="${D}" install || die "install spandsp failed" - - cd "${S}" - dosbin iaxmodem || die "install failed" - - # remove libiax and spandsp headers, we don't need them - rm -rf "${D}usr/include" "${D}usr/bin/iax-config" - - # install init-script + conf - newinitd "${FILESDIR}/iaxmodem.initd" iaxmodem - newconfd "${FILESDIR}/iaxmodem.confd" iaxmodem - - # install docs - doman iaxmodem.1 - dodoc FAQ README TODO - newdoc CHANGES ChangeLog - newdoc lib/libiax2/ChangeLog ChangeLog.libiax2 - newdoc lib/spandsp/ChangeLog ChangeLog.spandsp - - # install sample configs - insinto /etc/iaxmodem - newins "${FILESDIR}/iaxmodem.cfg" default - insinto /usr/share/iaxmodem - doins config.ttyIAX iaxmodem-cfg.ttyIAX iaxmodem.inf - - # install logrotate rule - if use logrotate; then - insinto /etc/logrotate.d - newins "${FILESDIR}/iaxmodem.logrotated" iaxmodem - fi - - # create log dir - keepdir /var/log/iaxmodem -} |