diff options
author | Michael Mair-Keimberger <m.mairkeimberger@gmail.com> | 2018-07-22 22:30:59 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2018-08-14 23:20:39 +0200 |
commit | edd8e889fd9b5e19b0c72d24de33e601b8ec7254 (patch) | |
tree | a45f5340d163dfaa0408e7c08379235dcc2d45e5 /net-dialup/lrzsz/lrzsz-0.12.20-r4.ebuild | |
parent | net-dialup/lrzsz: use HTTPs. (diff) | |
download | gentoo-edd8e889fd9b5e19b0c72d24de33e601b8ec7254.tar.gz gentoo-edd8e889fd9b5e19b0c72d24de33e601b8ec7254.tar.bz2 gentoo-edd8e889fd9b5e19b0c72d24de33e601b8ec7254.zip |
net-dialup/lrzsz: EAPI 7 bump.
Bug: https://bugs.gentoo.org/648050
Diffstat (limited to 'net-dialup/lrzsz/lrzsz-0.12.20-r4.ebuild')
-rw-r--r-- | net-dialup/lrzsz/lrzsz-0.12.20-r4.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/net-dialup/lrzsz/lrzsz-0.12.20-r4.ebuild b/net-dialup/lrzsz/lrzsz-0.12.20-r4.ebuild new file mode 100644 index 000000000000..0b999da1b239 --- /dev/null +++ b/net-dialup/lrzsz/lrzsz-0.12.20-r4.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic toolchain-funcs + +DESCRIPTION="Communication package providing the X, Y, and ZMODEM file transfer protocols" +HOMEPAGE="https://www.ohse.de/uwe/software/lrzsz.html" +SRC_URI="https://www.ohse.de/uwe/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="nls" + +DEPEND="nls? ( virtual/libintl )" + +PATCHES=( "${FILESDIR}"/${PN}-autotools.patch + "${FILESDIR}"/${PN}-implicit-decl.patch + "${FILESDIR}"/${P}-automake-1.12.patch + "${FILESDIR}"/${P}-automake-1.13.patch ) + +DOCS=( AUTHORS COMPATABILITY ChangeLog NEWS \ + README{,.cvs,.gettext,.isdn4linux,.tests} THANKS TODO ) + +src_prepare() { + default + # automake is unhappy if this is missing + >> config.rpath || die + # This is too old. Remove it so automake puts in a newer copy. + rm -f missing || die + # Autoheader does not like seeing this file. + rm -f acconfig.h || die + + eautoreconf +} + +src_configure() { + tc-export CC + append-flags -Wstrict-prototypes + econf $(use_enable nls) +} + +src_test() { + #Don't use check target. + #See bug #120748 before changing this function. + make vcheck || die "tests failed" +} + +src_install() { + default + + local x + for x in {r,s}{b,x,z} ; do + dosym l${x} /usr/bin/${x} + dosym l${x:0:1}z.1 /usr/share/man/man1/${x}.1 + [ "${x:1:1}" = "z" ] || dosym l${x:0:1}z.1 /usr/share/man/man1/l${x}.1 + done +} |