summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2012-10-15 12:43:13 +0000
committerEray Aslan <eras@gentoo.org>2012-10-15 12:43:13 +0000
commit04d581fddf773efd3de643c98d7bd6f37e5e549c (patch)
tree4a37c1850e37071df88d9ef27b0b1ec7a7d04afe /net-mail/topal
parentAdd topal and chappa USE flags for use with mail-client/alpine - bug #391387.... (diff)
downloadgentoo-2-04d581fddf773efd3de643c98d7bd6f37e5e549c.tar.gz
gentoo-2-04d581fddf773efd3de643c98d7bd6f37e5e549c.tar.bz2
gentoo-2-04d581fddf773efd3de643c98d7bd6f37e5e549c.zip
Version bump
(Portage version: 2.2.0_alpha138/cvs/Linux x86_64, signed Manifest commit with key 0x586A3B1F)
Diffstat (limited to 'net-mail/topal')
-rw-r--r--net-mail/topal/ChangeLog9
-rw-r--r--net-mail/topal/files/75-Makefile.patch76
-rw-r--r--net-mail/topal/topal-75.ebuild42
3 files changed, 125 insertions, 2 deletions
diff --git a/net-mail/topal/ChangeLog b/net-mail/topal/ChangeLog
index 02a7c5150f22..980c830c0b3f 100644
--- a/net-mail/topal/ChangeLog
+++ b/net-mail/topal/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-mail/topal
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/topal/ChangeLog,v 1.10 2012/06/13 09:46:57 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/topal/ChangeLog,v 1.11 2012/10/15 12:43:13 eras Exp $
+
+*topal-75 (15 Oct 2012)
+
+ 15 Oct 2012; Eray Aslan <eras@gentoo.org> +files/75-Makefile.patch,
+ +topal-75.ebuild:
+ Version bump
13 Jun 2012; Michael Weber <xmw@gentoo.org> topal-72.ebuild:
ppc stable (bug 317971)
@@ -39,4 +45,3 @@
+metadata.xml, +topal-64.ebuild:
Initial commit. Thanks to Sascha Lucas, Peter Gantner and Nils Schlupp
(#215881)
-
diff --git a/net-mail/topal/files/75-Makefile.patch b/net-mail/topal/files/75-Makefile.patch
new file mode 100644
index 000000000000..54a4dc6316d1
--- /dev/null
+++ b/net-mail/topal/files/75-Makefile.patch
@@ -0,0 +1,76 @@
+--- MIME-tool/Makefile 2012-10-14 09:36:08.547372628 +0000
++++ MIME-tool/Makefile 2012-10-14 09:37:30.786356453 +0000
+@@ -1,10 +1,13 @@
+ .PHONY: all clean realclean distrib
+
++CC=gcc
++CFLAGS=-Wall -O2
++LDFLAGS=
++
+ all: mime-tool
+
+ mime-tool: mime.c
+- gcc -Wall -O2 -o mime-tool mime.c
+- -strip mime-tool
++ $(CC) $(CFLAGS) $(LDFLAGS) -o mime-tool mime.c
+
+ realclean: clean
+ -rm mime-tool
+--- Makefile 2012-10-14 10:01:35.211485438 +0000
++++ Makefile 2012-10-14 10:08:26.682400711 +0000
+@@ -15,6 +15,10 @@
+
+ .PHONY: all binary doc clean realclean distclean package install distrib all2 FORCE
+
++CC=gcc
++CFLAGS=-Wall -O2
++LDFLAGS=
++
+ RELEASECODE=$(shell grep '^<dt>' Changelog.html | tail -1 | sed 's/.* release //; sx</a>.*$$xx')
+ BUILDDATE=$(shell date '+%Y-%m-%dT%H%M%S%Z')
+
+@@ -44,20 +48,19 @@
+ all2: package distrib
+
+ ada-readline-c.o: ada-readline-c.c
+- gcc -c -Wall -O2 $(TOPALDEBUG) ada-readline-c.c
++ $(CC) -c $(CFLAGS) $(TOPALDEBUG) ada-readline-c.c
+
+ ada-echo-c.o: ada-echo-c.c
+- gcc -c -Wall -O2 $(TOPALDEBUG) ada-echo-c.c
++ $(CC) -c $(CFLAGS) $(TOPALDEBUG) ada-echo-c.c
+
+ externals-c.o: externals-c.c
+- gcc -c -Wall -O2 $(TOPALDEBUG) externals-c.c
++ $(CC) -c $(CFLAGS) $(TOPALDEBUG) externals-c.c
+
+ mime-tool:
+- make -C MIME-tool
++ $(MAKE) -C MIME-tool
+
+ topal: $(TOPALDEPS)
+- gnatmake -gnat05 -gnatwa -gnato -O2 $(TOPALDEBUG) topal
+- -strip topal
++ gnatmake -gnat05 -gnatwa -gnato -O2 $(TOPALDEBUG) topal -largs $(LDFLAGS)
+
+ # FORCE, because BUILDDATE changes each time....
+ version_id.adb: mkversionid FORCE
+@@ -74,13 +77,13 @@
+ topal.pdf: topal.tex versionid.tex
+ pdflatex topal.tex && pdflatex topal.tex
+
+-install: all
++install:
+ install -d $(INSTALLPATHBIN) $(INSTALLPATHDOC) $(INSTALLPATHMAN)/man1 $(INSTALLPATHPATCHES)
+- install -m 755 -s topal $(INSTALLPATHBIN)
+- install -m 644 Features.html Changelog.html topal.pdf COPYING $(INSTALLPATHDOC)
++ install -m 755 topal $(INSTALLPATHBIN)
++ install -m 644 screens/*.png $(INSTALLPATHDOC)
+ install -m 644 topal.man $(INSTALLPATHMAN)/man1/topal.1
+- install -m 644 pine-*.patch alpine-*.patch alpine-*.patch-* $(INSTALLPATHPATCHES)
+- install -m 755 -s MIME-tool/mime-tool $(INSTALLPATHBIN)
++ install -m 644 alpine-*.patch alpine-*.patch-* $(INSTALLPATHPATCHES)
++ install -m 755 MIME-tool/mime-tool $(INSTALLPATHBIN)
+ install -m 644 MIME-tool/mime-tool.man $(INSTALLPATHMAN)/man1/mime-tool.1
+
+ clean:
diff --git a/net-mail/topal/topal-75.ebuild b/net-mail/topal/topal-75.ebuild
new file mode 100644
index 000000000000..cbf4a1ed4821
--- /dev/null
+++ b/net-mail/topal/topal-75.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-mail/topal/topal-75.ebuild,v 1.1 2012/10/15 12:43:13 eras Exp $
+
+EAPI=4
+
+inherit toolchain-funcs eutils
+
+DESCRIPTION="Topal is a 'glue' program that links GnuPG and Pine/Alpine."
+HOMEPAGE="http://homepage.ntlworld.com/phil.brooke/topal/"
+SRC_URI="http://homepage.ntlworld.com/phil.brooke/topal/rel-${PV}/topal-package-${PV}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc"
+
+RDEPEND=">=app-crypt/gnupg-2.0.7-r1
+ || ( net-mail/metamail app-misc/run-mailcap )
+ || ( app-text/dos2unix app-text/hd2u )
+ sys-libs/ncurses
+ sys-libs/readline"
+DEPEND="${RDEPEND}
+ virtual/ada
+ doc? ( app-text/texlive )"
+
+src_prepare() {
+ rm "${S}"/MIME-tool/mime-tool || die
+ epatch "${FILESDIR}"/${PV}-Makefile.patch
+ use doc || sed -i -e '/pdflatex/s/^/#/' Makefile
+}
+
+src_compile() {
+ emake -j1 CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+ emake install \
+ INSTALLPATH="${D}"/usr \
+ INSTALLPATHDOC="${D}/usr/share/doc/${PF}"
+ dohtml "${S}"/*.html
+}