diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/pspresent/pspresent-1.3-r1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/pspresent/pspresent-1.3-r1.ebuild')
-rw-r--r-- | app-text/pspresent/pspresent-1.3-r1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/app-text/pspresent/pspresent-1.3-r1.ebuild b/app-text/pspresent/pspresent-1.3-r1.ebuild new file mode 100644 index 000000000000..128bda4cc35e --- /dev/null +++ b/app-text/pspresent/pspresent-1.3-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +inherit toolchain-funcs + +DESCRIPTION="A tool to display full-screen PostScript presentations" +SRC_URI="http://www.cse.unsw.edu.au/~matthewc/pspresent/${P}.tar.gz" +HOMEPAGE="http://www.cse.unsw.edu.au/~matthewc/pspresent/" +SLOT="0" +LICENSE="GPL-2" + +IUSE="xinerama" +KEYWORDS="amd64 ppc x86" + +RDEPEND="x11-libs/libX11 + xinerama? ( x11-libs/libXinerama ) + app-text/ghostscript-gpl" +DEPEND="${RDEPEND} + x11-proto/xproto + xinerama? ( x11-proto/xineramaproto ) + >=sys-apps/sed-4" + +src_prepare() { + if ! use xinerama ; then + sed -i -e "/^XINERAMA/s/^/#/g" Makefile || die "sed Makefile" + fi + sed -i Makefile \ + -e 's|= -Wall -O2|+= -Wall|g' \ + -e 's| -o | $(LDFLAGS)&|g' \ + || die "sed Makefile" +} + +src_compile() { + emake CC=$(tc-getCC) || die +} + +src_install() { + dobin pspresent + doman pspresent.1 +} |