summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-07-05 16:33:44 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-07-05 16:33:44 +0000
commit3c3a93269bebd3362da0610fbb1488eb32c3fb69 (patch)
tree5152a2ec42c9aa05484cd0d3a096f302d91df104 /net-dialup
parentStable for amd64, wrt bug #424739 (diff)
downloadgentoo-2-3c3a93269bebd3362da0610fbb1488eb32c3fb69.tar.gz
gentoo-2-3c3a93269bebd3362da0610fbb1488eb32c3fb69.tar.bz2
gentoo-2-3c3a93269bebd3362da0610fbb1488eb32c3fb69.zip
Version bump and remove old.
(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/picocom/ChangeLog10
-rw-r--r--net-dialup/picocom/files/picocom-1.4-build.patch17
-rw-r--r--net-dialup/picocom/picocom-1.4.ebuild29
-rw-r--r--net-dialup/picocom/picocom-1.7.ebuild37
4 files changed, 45 insertions, 48 deletions
diff --git a/net-dialup/picocom/ChangeLog b/net-dialup/picocom/ChangeLog
index a50d4b3efd97..607078e81f80 100644
--- a/net-dialup/picocom/ChangeLog
+++ b/net-dialup/picocom/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-dialup/picocom
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/picocom/ChangeLog,v 1.8 2011/12/18 18:12:01 armin76 Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/picocom/ChangeLog,v 1.9 2012/07/05 16:33:43 flameeyes Exp $
+
+*picocom-1.7 (05 Jul 2012)
+
+ 05 Jul 2012; Diego E. Pettenò <flameeyes@gentoo.org> +picocom-1.7.ebuild,
+ -files/picocom-1.4-build.patch, -picocom-1.4.ebuild:
+ Version bump and remove old.
18 Dec 2011; Raúl Porcel <armin76@gentoo.org> picocom-1.6.ebuild:
Add ~sparc wrt #390151
diff --git a/net-dialup/picocom/files/picocom-1.4-build.patch b/net-dialup/picocom/files/picocom-1.4-build.patch
deleted file mode 100644
index 815fb2a3aa66..000000000000
--- a/net-dialup/picocom/files/picocom-1.4-build.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- Makefile.orig 2007-02-27 12:34:03.000000000 -0500
-+++ Makefile 2007-02-27 12:34:16.000000000 -0500
-@@ -2,12 +2,10 @@
- VERSION=1.4
-
- # CC = gcc
--CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\"
--CFLAGS = -Wall -g
-+CPPFLAGS+=-DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\"
-+CFLAGS += -Wall
-
- # LD = gcc
--LDFLAGS = -g
--LDLIBS =
-
- picocom : picocom.o term.o
- # $(LD) $(LDFLAGS) -o $@ $+ $(LDLIBS)
diff --git a/net-dialup/picocom/picocom-1.4.ebuild b/net-dialup/picocom/picocom-1.4.ebuild
deleted file mode 100644
index 351b75d4be75..000000000000
--- a/net-dialup/picocom/picocom-1.4.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/picocom/picocom-1.4.ebuild,v 1.5 2008/04/15 15:17:05 vapier Exp $
-
-inherit eutils
-
-DESCRIPTION="minimal dumb-terminal emulation program"
-HOMEPAGE="http://efault.net/npat/hacks/picocom/"
-SRC_URI="http://efault.net/npat/hacks/picocom/dist/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
-IUSE=""
-
-DEPEND=""
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${P}-build.patch
- sed -i -e 's:\./picocom:picocom:' pcasc
-}
-
-src_install() {
- dobin picocom pc{asc,xm,ym,zm} || die
- doman picocom.8
- dodoc CHANGES CONTRIBUTORS NEWS README TODO
-}
diff --git a/net-dialup/picocom/picocom-1.7.ebuild b/net-dialup/picocom/picocom-1.7.ebuild
new file mode 100644
index 000000000000..bdcacb55aff9
--- /dev/null
+++ b/net-dialup/picocom/picocom-1.7.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/picocom/picocom-1.7.ebuild,v 1.1 2012/07/05 16:33:43 flameeyes Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="minimal dumb-terminal emulation program"
+HOMEPAGE="http://code.google.com/p/picocom/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+
+src_prepare() {
+ sed -i -e 's:\./picocom:picocom:' pcasc || die
+}
+
+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.8
+ dohtml picocom.8.html
+ dodoc CHANGES CHANGES.old CONTRIBUTORS README TODO
+}