summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2014-09-07 16:28:30 +0000
committerManuel Rüger <mrueg@gentoo.org>2014-09-07 16:28:30 +0000
commit2db188ca8afd7e7cef39094e259183c1afe5dbec (patch)
tree2f115045899660057aa44b2fcb95013b2e4672ab
parentEAPI bump, install examples and some QA (diff)
downloadgentoo-2-2db188ca8afd7e7cef39094e259183c1afe5dbec.tar.gz
gentoo-2-2db188ca8afd7e7cef39094e259183c1afe5dbec.tar.bz2
gentoo-2-2db188ca8afd7e7cef39094e259183c1afe5dbec.zip
Cleanup old.
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key )
-rw-r--r--app-mobilephone/yaps/ChangeLog5
-rw-r--r--app-mobilephone/yaps/yaps-0.96-r4.ebuild87
2 files changed, 4 insertions, 88 deletions
diff --git a/app-mobilephone/yaps/ChangeLog b/app-mobilephone/yaps/ChangeLog
index 4c933803943a..22bde775f54d 100644
--- a/app-mobilephone/yaps/ChangeLog
+++ b/app-mobilephone/yaps/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-mobilephone/yaps
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/yaps/ChangeLog,v 1.30 2014/09/07 13:09:53 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/yaps/ChangeLog,v 1.31 2014/09/07 16:28:30 mrueg Exp $
+
+ 07 Sep 2014; Manuel Rüger <mrueg@gentoo.org> -yaps-0.96-r4.ebuild:
+ Cleanup old.
07 Sep 2014; Agostino Sarubbo <ago@gentoo.org> yaps-0.96-r5.ebuild:
Stable for x86, wrt bug #520248
diff --git a/app-mobilephone/yaps/yaps-0.96-r4.ebuild b/app-mobilephone/yaps/yaps-0.96-r4.ebuild
deleted file mode 100644
index 01a325c1917a..000000000000
--- a/app-mobilephone/yaps/yaps-0.96-r4.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-mobilephone/yaps/yaps-0.96-r4.ebuild,v 1.4 2013/01/24 21:01:18 sbriesen Exp $
-
-EAPI="2"
-
-inherit eutils toolchain-funcs
-
-DESCRIPTION="Yet Another Pager Software (optional with CAPI support)"
-HOMEPAGE="ftp://sunsite.unc.edu/pub/Linux/apps/serialcomm/machines/"
-SRC_URI="capi? ( ftp://ftp.melware.net/capi4yaps/${P}.c4.tgz )
- !capi? ( ftp://sunsite.unc.edu/pub/Linux/apps/serialcomm/machines/${P}.tar.gz )"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc x86"
-IUSE="capi lua slang unicode"
-
-RDEPEND="capi? ( net-dialup/capi4k-utils )
- slang? ( >=sys-libs/slang-1.4 )
- lua? ( dev-lang/lua )
- !media-sound/abcmidi" # also contains "yaps"
-DEPEND="${RDEPEND}
- !capi? ( sys-apps/sed )
- lua? ( virtual/pkgconfig )"
-
-pkg_setup() {
- if ! use capi; then
- ewarn
- ewarn "You are now compiling some *very* old and unmaintained stuff!"
- ewarn
- ewarn "YAPS with CAPI 2.0 support is actively maintained, but needs"
- ewarn "net-dialup/capi4k-utils installed. But I advice you to use"
- ewarn "this version, since it can still be used with an ordinary"
- ewarn "modem (that's what you probably wanted). So just add 'capi'"
- ewarn "to your USE flags to get the new and maintained version."
- ewarn
- ebeep
- fi
-}
-
-src_prepare() {
- use capi && mv -f "${S}.c4" "${S}"
- cd "${S}"
-
- # apply patches
- epatch "${FILESDIR}/${P}-gentoo.diff"
- epatch "${FILESDIR}/${P}-getline-rename.patch"
-
- # fix compile warning
- use capi || \
- sed -i -e 's:^\(.*\)\(<stdlib.h>\):\1\2\n\1<string.h>:g' scr.c
-
- # if specified, convert all relevant files from latin1 to UTF-8
- if use unicode; then
- for i in yaps.doc; do
- einfo "Converting '${i}' to UTF-8"
- iconv -f latin1 -t utf8 -o "${i}~" "${i}" && mv -f "${i}~" "${i}" || rm -f "${i}~"
- done
- fi
-}
-
-src_compile() {
- local myconf=""
- use lua && myconf="${myconf} LUA=True"
- use slang && myconf="${myconf} SLANG=True"
- emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" CFLAGS="${CFLAGS}" ${myconf} || die "emake failed"
-}
-
-src_install() {
- dobin yaps
- insinto /etc
- doins yaps.rc
- keepdir /usr/lib/yaps
- doman yaps.1
- dohtml yaps.html
- dodoc BUGREPORT COPYRIGHT README yaps.lsm yaps.doc
- newdoc contrib/README README.contrib
- insinto /usr/share/doc/${PF}/contrib
- doins contrib/{m2y.pl,tap.sl}
-}
-
-pkg_postinst() {
- elog
- elog "Please edit /etc/yaps.rc to suit your needs."
- elog
-}