diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-06-30 08:49:38 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-06-30 08:49:38 +0100 |
commit | b2be182d49eea46686b5cf2680d457df61e89dc4 (patch) | |
tree | c66442ced2011c5ca81c3114cc51041e314c6d33 /net-dialup/picocom/picocom-3.1.ebuild | |
parent | e23cdda4dbb0c83b9e682ab5e916085a35203da5 (diff) |
gentoo resync : 30.06.2018
Diffstat (limited to 'net-dialup/picocom/picocom-3.1.ebuild')
-rw-r--r-- | net-dialup/picocom/picocom-3.1.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/net-dialup/picocom/picocom-3.1.ebuild b/net-dialup/picocom/picocom-3.1.ebuild new file mode 100644 index 000000000000..e5d52e872d4f --- /dev/null +++ b/net-dialup/picocom/picocom-3.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="minimal dumb-terminal emulation program" +HOMEPAGE="https://github.com/npat-efault/picocom" +SRC_URI="https://github.com/npat-efault/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~x86-fbsd" +IUSE="" + +src_compile() { + # CPPFLAGS is shared between CFLAGS and CXXFLAGS, but there is no + # C++ file, and the pre-processor is never called directly, this + # is easier than patching it out. + emake LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS} ${CPPFLAGS} -Wall" \ + CC="$(tc-getCC)" +} + +src_install() { + dobin picocom pc{asc,xm,ym,zm} + doman picocom.1 + dodoc CHANGES.old CONTRIBUTORS README.md +} |