summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-07-30 15:26:27 +0000
committerMike Frysinger <vapier@gentoo.org>2013-07-30 15:26:27 +0000
commitbcb8fa44b823cc4827beacece8b172e5b7437dcd (patch)
tree7e4fbd8396d2b362d8fbb55e9c17700143008df5 /net-misc/taylor-uucp
parentVersion bump. (diff)
downloadgentoo-2-bcb8fa44b823cc4827beacece8b172e5b7437dcd.tar.gz
gentoo-2-bcb8fa44b823cc4827beacece8b172e5b7437dcd.tar.bz2
gentoo-2-bcb8fa44b823cc4827beacece8b172e5b7437dcd.zip
Update to EAPI=4 and fix building w/automake-1.13
(Portage version: 2.2.0_alpha179/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'net-misc/taylor-uucp')
-rw-r--r--net-misc/taylor-uucp/ChangeLog7
-rw-r--r--net-misc/taylor-uucp/taylor-uucp-1.07-r2.ebuild35
2 files changed, 21 insertions, 21 deletions
diff --git a/net-misc/taylor-uucp/ChangeLog b/net-misc/taylor-uucp/ChangeLog
index d667f6332510..d0f55a7f7044 100644
--- a/net-misc/taylor-uucp/ChangeLog
+++ b/net-misc/taylor-uucp/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/taylor-uucp
-# Copyright 2002-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/taylor-uucp/ChangeLog,v 1.34 2012/04/06 22:00:09 pacho Exp $
+# Copyright 2002-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/taylor-uucp/ChangeLog,v 1.35 2013/07/30 15:26:27 vapier Exp $
+
+ 30 Jul 2013; Mike Frysinger <vapier@gentoo.org> taylor-uucp-1.07-r2.ebuild:
+ Update to EAPI=4 and fix building w/automake-1.13
06 Apr 2012; Pacho Ramos <pacho@gentoo.org> metadata.xml:
Drop maintainer due retirement, bug #63588
diff --git a/net-misc/taylor-uucp/taylor-uucp-1.07-r2.ebuild b/net-misc/taylor-uucp/taylor-uucp-1.07-r2.ebuild
index 209e1d04eb1a..52acdf779a69 100644
--- a/net-misc/taylor-uucp/taylor-uucp-1.07-r2.ebuild
+++ b/net-misc/taylor-uucp/taylor-uucp-1.07-r2.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/taylor-uucp/taylor-uucp-1.07-r2.ebuild,v 1.3 2009/03/06 18:48:28 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/taylor-uucp/taylor-uucp-1.07-r2.ebuild,v 1.4 2013/07/30 15:26:27 vapier Exp $
+
+EAPI="4"
inherit eutils flag-o-matic autotools
@@ -8,28 +10,23 @@ DESCRIPTION="Taylor UUCP"
HOMEPAGE="http://www.airs.com/ian/uucp.html"
SRC_URI="mirror://gnu/uucp/uucp-${PV}.tar.gz"
-IUSE=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 ~arm ia64 ppc sparc x86"
+IUSE=""
-DEPEND=">=sys-apps/sed-4"
-RDEPEND=""
-
-S="${WORKDIR}/uucp-1.07"
-
-src_unpack() {
- unpack ${A}
+S="${WORKDIR}/uucp-${PV}"
- cd "${S}"
- epatch "${FILESDIR}/${P}-gentoo.patch"
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ mv configure.{in,ac} || die
+ sed -i 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die
eautoreconf
}
-src_compile() {
- append-flags -D_GNU_SOURCE -fno-strict-aliasing
- econf --with-newconfigdir=/etc/uucp || die "configure failed"
- make || die "make failed"
+src_configure() {
+ append-cppflags -D_GNU_SOURCE -fno-strict-aliasing
+ econf --with-newconfigdir=/etc/uucp
}
src_install() {
@@ -42,7 +39,7 @@ src_install() {
diropts -o uucp -g uucp -m 0775
keepdir /var/spool/uucppublic
- make \
+ emake \
"prefix=${D}/usr" \
"sbindir=${D}/usr/sbin" \
"bindir=${D}/usr/bin" \
@@ -50,9 +47,9 @@ src_install() {
"man8dir=${D}/usr/share/man/man8" \
"newconfigdir=${D}/etc/uucp" \
"infodir=${D}/usr/share/info" \
- install install-info || die "make install failed"
+ install install-info
sed -i -e 's:/usr/spool:/var/spool:g' sample/config
- cp sample/* "${D}/etc/uucp"
+ cp sample/* "${ED}/etc/uucp" || die
dodoc ChangeLog NEWS README TODO
}