diff options
author | Eli Schwartz <eschwartz@gentoo.org> | 2024-10-20 22:50:49 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz@gentoo.org> | 2024-10-20 22:54:44 -0400 |
commit | 71b684d021866e16353b54eff2478365a057c9a7 (patch) | |
tree | a92ab748752b0b7e3769bb5dc446ebce127dfa99 | |
parent | net-news/yydecode: backfill bug reference from 2011 for test workaround (diff) | |
download | gentoo-71b684d021866e16353b54eff2478365a057c9a7.tar.gz gentoo-71b684d021866e16353b54eff2478365a057c9a7.tar.bz2 gentoo-71b684d021866e16353b54eff2478365a057c9a7.zip |
net-misc/taylor-uucp: update EAPI 7 -> 8
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
-rw-r--r-- | net-misc/taylor-uucp/taylor-uucp-1.07-r7.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/net-misc/taylor-uucp/taylor-uucp-1.07-r7.ebuild b/net-misc/taylor-uucp/taylor-uucp-1.07-r7.ebuild new file mode 100644 index 000000000000..9b97bf770435 --- /dev/null +++ b/net-misc/taylor-uucp/taylor-uucp-1.07-r7.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +DESCRIPTION="Taylor UUCP" +HOMEPAGE="https://www.airs.com/ian/uucp.html" +SRC_URI="mirror://gnu/uucp/uucp-${PV}.tar.gz" +S="${WORKDIR}/uucp-${PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~sparc ~x86" + +PATCHES=( + "${FILESDIR}"/${P}-gentoo.patch + "${FILESDIR}"/${P}-fprintf.patch + "${FILESDIR}"/${P}-remove-extern.patch +) + +src_prepare() { + default + + mv configure.{in,ac} || die + sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die + eautoreconf +} + +src_configure() { + append-cppflags -D_GNU_SOURCE -fno-strict-aliasing + econf --with-newconfigdir=/etc/uucp +} + +src_install() { + dodir /usr/share/man/man{1,8} + dodir /usr/share/info + dodir /usr/bin /usr/sbin + diropts -o uucp -g uucp -m 0750 + keepdir /var/log/uucp /var/spool/uucp + diropts -o uucp -g uucp -m 0775 + keepdir /var/spool/uucppublic + + emake \ + "prefix=${ED}/usr" \ + "sbindir=${ED}/usr/sbin" \ + "bindir=${ED}/usr/bin" \ + "man1dir=${ED}/usr/share/man/man1" \ + "man8dir=${ED}/usr/share/man/man8" \ + "newconfigdir=${ED}/etc/uucp" \ + "infodir=${ED}/usr/share/info" \ + install install-info + + sed -i -e 's:/usr/spool:/var/spool:g' sample/config + + insinto etc/uucp + doins sample/* + + dodoc ChangeLog NEWS README TODO +} |