diff options
Diffstat (limited to 'app-text/7plus/7plus-2.25.ebuild')
-rw-r--r-- | app-text/7plus/7plus-2.25.ebuild | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/app-text/7plus/7plus-2.25.ebuild b/app-text/7plus/7plus-2.25.ebuild new file mode 100644 index 000000000000..a40c26a36ea2 --- /dev/null +++ b/app-text/7plus/7plus-2.25.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit toolchain-funcs + +S="${WORKDIR}/7plsrc.${PV//./}" +DESCRIPTION="An encoder for packet radio" +HOMEPAGE="http://home.t-online.de/home/dg1bbq/7plus.htm" +SRC_URI="http://home.t-online.de/home/dg1bbq/7pl${PV//./}sr.tgz" + +LICENSE="7plus" +SLOT="0" +KEYWORDS="~x86" +IUSE="" + +DEPEND="sys-apps/sed" +RDEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + sed -e "s:CC = gcc:CC = $(tc-getCC):" \ + -e "s:= -O2:+=:" \ + -e "s:LDFLAGS = -s:LDFLAGS +=:" linux.mak > Makefile \ + || die "sed Makefile failed" +} + +src_compile() { + emake || die "emake failed" +} + +src_install() { + dobin 7plus || die "dobin failed" + dodoc 7pl_hist.nts 7plh_old.nts format.def +} |