summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-17 04:32:13 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-17 04:32:13 +0000
commit8736602a38bc6afa9def096eb598f370120106fe (patch)
treef74f21a836ecc0cad35d94703aaf396cc405e1f4 /app-misc
parentRespect LDFLAGS (bug #335300), CFLAGS, and do not hard-wire CC. (diff)
downloadgentoo-2-8736602a38bc6afa9def096eb598f370120106fe.tar.gz
gentoo-2-8736602a38bc6afa9def096eb598f370120106fe.tar.bz2
gentoo-2-8736602a38bc6afa9def096eb598f370120106fe.zip
Respect LDFLAGS (bug #335334). Use dodoc instead of doins.
(Portage version: 2.2_rc82/cvs/Linux i686)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/linuxspa/ChangeLog9
-rw-r--r--app-misc/linuxspa/linuxspa-0.7.1-r1.ebuild40
2 files changed, 47 insertions, 2 deletions
diff --git a/app-misc/linuxspa/ChangeLog b/app-misc/linuxspa/ChangeLog
index dc3be235acfd..3a436cc299f2 100644
--- a/app-misc/linuxspa/ChangeLog
+++ b/app-misc/linuxspa/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/linuxspa
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/linuxspa/ChangeLog,v 1.5 2008/12/30 20:12:04 angelos Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/linuxspa/ChangeLog,v 1.6 2010/09/17 04:32:13 jer Exp $
+
+*linuxspa-0.7.1-r1 (17 Sep 2010)
+
+ 17 Sep 2010; Jeroen Roovers <jer@gentoo.org> +linuxspa-0.7.1-r1.ebuild:
+ Respect LDFLAGS (bug #335334). Use dodoc instead of doins.
30 Dec 2008; Christoph Mende <angelos@gentoo.org> linuxspa-0.7.1.ebuild:
QA: Respect CC (bug 243656)
diff --git a/app-misc/linuxspa/linuxspa-0.7.1-r1.ebuild b/app-misc/linuxspa/linuxspa-0.7.1-r1.ebuild
new file mode 100644
index 000000000000..918639e5e7f6
--- /dev/null
+++ b/app-misc/linuxspa/linuxspa-0.7.1-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/linuxspa/linuxspa-0.7.1-r1.ebuild,v 1.1 2010/09/17 04:32:13 jer Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+MY_PN="LinuxSPA"
+DESCRIPTION="Linux Serial Protocol Analyser"
+HOMEPAGE="http://sourceforge.net/projects/serialsniffer/"
+SRC_URI="mirror://sourceforge/serialsniffer/${MY_PN}-0.7.1.tgz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+S="${WORKDIR}/${MY_PN}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-compile-fix.patch
+ sed -i Makefile \
+ -e 's| -o | $(LDFLAGS)&|g' \
+ || die "sed Makefile"
+}
+
+src_compile() {
+ emake \
+ CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS} -Wall" \
+ LDFLAGS="${LDFLAGS}" \
+ || die "emake failed"
+}
+
+src_install() {
+ dobin LinuxSPA std232
+ dodoc ASCII_Filter.txt BCircuit.txt LinuxSPA.png READING_Materials.txt \
+ README TODO connector-1a.ps connector-2a.ps cooked.file raw.file
+}