diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-07-05 10:34:39 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-07-05 10:34:39 +0000 |
commit | 2ced5d136453baa348ec7637a0770754e02bcd48 (patch) | |
tree | 339560a3a440b8c2a6bbdb9af7f03bf87a4f6337 /app-text | |
parent | verion bump (diff) | |
download | gentoo-2-2ced5d136453baa348ec7637a0770754e02bcd48.tar.gz gentoo-2-2ced5d136453baa348ec7637a0770754e02bcd48.tar.bz2 gentoo-2-2ced5d136453baa348ec7637a0770754e02bcd48.zip |
Initial import.
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/ansifilter/ChangeLog | 10 | ||||
-rw-r--r-- | app-text/ansifilter/ansifilter-1.6.ebuild | 50 | ||||
-rw-r--r-- | app-text/ansifilter/metadata.xml | 9 |
3 files changed, 69 insertions, 0 deletions
diff --git a/app-text/ansifilter/ChangeLog b/app-text/ansifilter/ChangeLog new file mode 100644 index 000000000000..09507c035b1b --- /dev/null +++ b/app-text/ansifilter/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-text/ansifilter +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/ansifilter/ChangeLog,v 1.1 2011/07/05 10:34:39 radhermit Exp $ + +*ansifilter-1.6 (05 Jul 2011) + + 05 Jul 2011; Tim Harder <radhermit@gentoo.org> +ansifilter-1.6.ebuild, + +metadata.xml: + Initial import. + diff --git a/app-text/ansifilter/ansifilter-1.6.ebuild b/app-text/ansifilter/ansifilter-1.6.ebuild new file mode 100644 index 000000000000..cd0577326e13 --- /dev/null +++ b/app-text/ansifilter/ansifilter-1.6.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/ansifilter/ansifilter-1.6.ebuild,v 1.1 2011/07/05 10:34:39 radhermit Exp $ + +EAPI=4 + +inherit toolchain-funcs qt4-r2 + +DESCRIPTION="Handles text files containing ANSI terminal escape codes" +HOMEPAGE="http://www.andre-simon.de/" +SRC_URI="http://www.andre-simon.de/zip/${P}.tar.bz2" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="qt4" + +RDEPEND=" + qt4? ( + x11-libs/qt-core:4 + x11-libs/qt-gui:4 + )" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${PN} + +pkg_setup() { + myopts=( + "CC=$(tc-getCXX)" + "CFLAGS=${CFLAGS} -c" + "LDFLAGS=${LDFLAGS}" + "DESTDIR=${ED}" + "PREFIX=${EPREFIX}/usr" + "doc_dir=${EPREFIX}/usr/share/doc/${PF}/" + ) +} + +src_compile() { + emake -f makefile "${myopts[@]}" + if use qt4 ; then + cd src/qt-gui + eqmake4 + emake + fi +} + +src_install() { + emake -f makefile "${myopts[@]}" install + use qt4 && emake -f makefile "${myopts[@]}" install-gui +} diff --git a/app-text/ansifilter/metadata.xml b/app-text/ansifilter/metadata.xml new file mode 100644 index 000000000000..0ce86a2b9b52 --- /dev/null +++ b/app-text/ansifilter/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>radhermit@gentoo.org</email> + <name>Tim Harder</name> + </maintainer> +</pkgmetadata> |