public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Beierlein" <tomjbe@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-radio/ibp/
Date: Wed, 24 May 2017 06:17:38 +0000 (UTC)	[thread overview]
Message-ID: <1495606609.d328151585efccf332d7c5a192f0100179f8278e.tomjbe@gentoo> (raw)

commit:     d328151585efccf332d7c5a192f0100179f8278e
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Wed May 24 06:16:49 2017 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Wed May 24 06:16:49 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3281515

media-radio/ibp: Fix tinfo problem

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 media-radio/ibp/ibp-0.21-r1.ebuild | 52 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/media-radio/ibp/ibp-0.21-r1.ebuild b/media-radio/ibp/ibp-0.21-r1.ebuild
new file mode 100644
index 00000000000..3cdb7e826de
--- /dev/null
+++ b/media-radio/ibp/ibp-0.21-r1.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+inherit toolchain-funcs
+
+DESCRIPTION="Shows currently transmitting beacons of the International Beacon Project (IBP)"
+HOMEPAGE="http://wwwhome.cs.utwente.nl/~ptdeboer/ham/${PN}.html"
+SRC_URI="http://wwwhome.cs.utwente.nl/~ptdeboer/ham/${P}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X"
+
+RDEPEND="sys-libs/ncurses:0
+	X? ( x11-libs/libX11  )"
+DEPEND="${RDEPEND}
+	X? ( x11-misc/imake )"
+
+src_prepare() {
+	# respect CFLAGS if built without USE=X
+	sed -i -e "s/= -D/+= -D/" Makefile || die
+	# fix compile if ncurses is built with separate libtinfo
+	if has_version "sys-libs/ncurses:0[tinfo]" ;then
+		sed -i -e "s/-lcurses/-lcurses -ltinfo/" Imakefile Makefile || die
+	fi
+
+	eapply_user
+}
+
+src_configure() {
+	if use X ;then
+		xmkmf || die
+	fi
+}
+
+src_compile() {
+	if use X ; then
+		emake \
+			CC="$(tc-getCC)" \
+			LOCAL_LDFLAGS="${LDFLAGS}" \
+			CDEBUGFLAGS="${CFLAGS}"
+	else
+		emake CC="$(tc-getCC)"
+	fi
+}
+
+src_install() {
+	dobin ${PN}
+	doman ${PN}.1
+}


             reply	other threads:[~2017-05-24  6:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-24  6:17 Thomas Beierlein [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-02-24  8:27 [gentoo-commits] repo/gentoo:master commit in: media-radio/ibp/ Jason Zaman
2018-02-25 18:21 Thomas Deutschmann
2018-02-25 18:38 Thomas Beierlein
2020-02-08 18:55 David Seifert
2021-04-15  6:39 Joonas Niilola
2021-06-18 21:07 David Seifert
2022-08-27 11:47 Sam James
2022-10-11  8:56 Ionen Wolkens
2022-12-02 21:32 Ionen Wolkens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1495606609.d328151585efccf332d7c5a192f0100179f8278e.tomjbe@gentoo \
    --to=tomjbe@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox