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 /media-gfx/aview/aview-1.3.0_rc1-r3.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/aview/aview-1.3.0_rc1-r3.ebuild')
-rw-r--r-- | media-gfx/aview/aview-1.3.0_rc1-r3.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/media-gfx/aview/aview-1.3.0_rc1-r3.ebuild b/media-gfx/aview/aview-1.3.0_rc1-r3.ebuild new file mode 100644 index 000000000000..218cb86e9ff3 --- /dev/null +++ b/media-gfx/aview/aview-1.3.0_rc1-r3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit base + +MY_P=${P/_/} +S=${WORKDIR}/${MY_P/rc*/} +DESCRIPTION="An ASCII Image Viewer" +SRC_URI="mirror://sourceforge/aa-project/${MY_P}.tar.gz" +HOMEPAGE="http://aa-project.sourceforge.net/aview/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris" +IUSE="" + +DEPEND=">=media-libs/aalib-1.4_rc4" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${P}-asciiview.patch + "${FILESDIR}"/${P}-includes.patch +) + +src_prepare() { + base_src_prepare + + sed -i -e 's:#include <malloc.h>:#include <stdlib.h>:g' "${S}"/*.c || die +} + +src_compile() { + make aview +} + +src_install() { + dobin aview asciiview + + doman *.1 + dodoc ANNOUNCE ChangeLog README TODO +} |