diff options
Diffstat (limited to 'net-dialup/xc/xc-4.3.2-r5.ebuild')
-rw-r--r-- | net-dialup/xc/xc-4.3.2-r5.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/net-dialup/xc/xc-4.3.2-r5.ebuild b/net-dialup/xc/xc-4.3.2-r5.ebuild new file mode 100644 index 000000000000..ec2eda48fa38 --- /dev/null +++ b/net-dialup/xc/xc-4.3.2-r5.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit epatch flag-o-matic multilib toolchain-funcs + +DESCRIPTION="Modem dialout & serial terminal program" +HOMEPAGE="http://www.ibiblio.org/pub/Linux/apps/serialcomm/dialout/" +SRC_URI="http://www.ibiblio.org/pub/Linux/apps/serialcomm/dialout/${P}.tar.gz" + +LICENSE="xc-radley" +SLOT="0" +KEYWORDS="amd64 ~ia64 ~mips ppc ppc64 sparc x86" +IUSE="" + +RDEPEND="sys-libs/ncurses:=" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + epatch "${FILESDIR}"/${P}-implicit-decl.patch + epatch "${FILESDIR}"/${P}-add-115200.patch + epatch "${FILESDIR}"/${P}-fix-set_bps-overflow.patch + + sed -i \ + -e "/^libdir/s:/lib/:/$(get_libdir)/:" \ + -e "/strip/d" \ + Makefile || die + # bug 459796 + append-libs "$($(tc-getPKG_CONFIG) --libs ncurses)" +} + +src_compile() { + tc-export AR CC RANLIB + emake WARN="" all +} + +src_install() { + default + insinto /usr/$(get_libdir)/xc + doins phonelist xc.init dotfiles/.[a-z]* +} |