summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2017-03-18 19:39:50 +1100
committerMichael Palimaka <kensington@gentoo.org>2017-03-18 19:40:06 +1100
commitcaee23695add36dcc111c2e50a555867a963d473 (patch)
tree319745122b04d05259e21665c6ebb89b3c3556c7
parentnet-dialup/cutecom: version bump 0.40.0 (diff)
downloadgentoo-caee23695add36dcc111c2e50a555867a963d473.tar.gz
gentoo-caee23695add36dcc111c2e50a555867a963d473.tar.bz2
gentoo-caee23695add36dcc111c2e50a555867a963d473.zip
net-misc/iaxmodem: remove 1.2.0-r1
Package-Manager: Portage-2.3.5, Repoman-2.3.2
-rw-r--r--net-misc/iaxmodem/Manifest1
-rw-r--r--net-misc/iaxmodem/iaxmodem-1.2.0-r1.ebuild105
2 files changed, 0 insertions, 106 deletions
diff --git a/net-misc/iaxmodem/Manifest b/net-misc/iaxmodem/Manifest
index 91a248e3dffa..479ed3d5632e 100644
--- a/net-misc/iaxmodem/Manifest
+++ b/net-misc/iaxmodem/Manifest
@@ -1,2 +1 @@
-DIST iaxmodem-1.2.0.tar.gz 3075769 SHA256 fa263c0df0870cb8133c4bee141146ca5db47ece6db50899a6acf508d76591ed SHA512 53b66a0977366541ffaa743fcbefa11c20eb9ea7182245a1d11bc7fd015d98a4ec8086b3cb85b8de84f63d67221bccb1a868fe9f0a603de600023ea158909707 WHIRLPOOL a258b663909cd7d8aa8be0e543a5cbd482ce978bd95534959cd300f96572b199d538fb1e6d7b8ec07fffda33b6e5c446065db89d1bbe50fe199492e191a418f1
DIST iaxmodem-1.3.0.tar.gz 2483995 SHA256 9dcff90bbc41846e5c3919ca92687df4b17f54d8df692940b8c67c4e98287535 SHA512 3add8fe1c228ee63f12a3d23fcc8bad5405b9fa6af70cadbcdb276d4e7dfe2a90f1b7c300d35659ab0247010c2315e25a5def5715e670071226bd89271d004f4 WHIRLPOOL 52502bdda06ec3bf128b738c0f7f59ea668961dbd70c31b873374c195bbbf23d0a1fb103d4b4baf313ec83a2c2d438e3a1db8bed772d5e5c0662f32741216c1e
diff --git a/net-misc/iaxmodem/iaxmodem-1.2.0-r1.ebuild b/net-misc/iaxmodem/iaxmodem-1.2.0-r1.ebuild
deleted file mode 100644
index 08ea1debae0e..000000000000
--- a/net-misc/iaxmodem/iaxmodem-1.2.0-r1.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils toolchain-funcs multilib
-
-DESCRIPTION="Software modem that uses an IAX channel instead of a traditional phone line"
-HOMEPAGE="https://sourceforge.net/projects/iaxmodem/"
-SRC_URI="mirror://sourceforge/iaxmodem/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE=""
-
-RDEPEND="media-libs/tiff:=
- sys-process/procps"
-
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- # fix header file position
- sed -i -e 's:iax/iax-client\.h:iax-client.h:g' iaxmodem.c || die
-
- # fix broken line terminators
- sed -i -e 's:\r::g' -e 's:--s$:--:g' -e 's:$:\r:g' iaxmodem.inf || die
-
- # fix installation of libiax2 headers (though we don't need them)
- sed -i -e 's: \(\$(includedir)/\): $(DESTDIR)\1:g' lib/libiax2/src/Makefile.in || die
-
- # patch configure (we compile libs for ourself)
- sed -i -e 's:^\(cd\|./configure\):# \1:g' configure || die
- sed -i -e 's:build-libiax build-libspandsp ::g' Makefile.in || die
-
- # fix dumb x86_64 libdir handling
- sed -i -e 's: \(x86_64-\*)\): _DISABLED_\1:g' lib/spandsp/configure || die
-}
-
-src_configure() {
- cd "${S}/lib/libiax2" || die
- econf --disable-static \
- --libdir=/usr/$(get_libdir)/iaxmodem \
- --datadir=/usr/share/iaxmodem/libiax2
-
- cd "${S}/lib/spandsp" || die
- econf --disable-static \
- --libdir=/usr/$(get_libdir)/iaxmodem \
- --datadir=/usr/share/iaxmodem
-
- cd "${S}"
- ./configure || die "configure iaxmodem failed" || die
-}
-
-src_compile() {
- cd "${S}/lib/libiax2" || die
- emake
-
- cd "${S}/lib/spandsp" || die
- emake
-
- cd "${S}"
- 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"
-}
-
-src_install() {
- cd "${S}/lib/libiax2" || die
- emake DESTDIR="${D}" install
-
- cd "${S}/lib/spandsp" || die
- emake DESTDIR="${D}" install
-
- cd "${S}"
- dosbin iaxmodem
-
- # remove libiax and spandsp headers, we don't need them
- rm -rf "${D}usr/include" "${D}usr/bin/iax-config" || die
-
- # install init-script + conf
- newinitd "${FILESDIR}/iaxmodem.initd" iaxmodem
- newconfd "${FILESDIR}/iaxmodem.confd" iaxmodem
-
- # install docs
- doman iaxmodem.1
- newdoc CHANGES ChangeLog
- newdoc lib/libiax2/ChangeLog ChangeLog.libiax2
- newdoc lib/spandsp/ChangeLog ChangeLog.spandsp
- dodoc FAQ README lib/spandsp/DueDiligence
-
- # 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
- insinto /etc/logrotate.d
- newins "${FILESDIR}/iaxmodem.logrotated" iaxmodem
-
- # create log dir
- keepdir /var/log/iaxmodem
-}