/[gentoo-x86]/media-gfx/aview/aview-1.3.0_rc1-r3.ebuild
Gentoo

Contents of /media-gfx/aview/aview-1.3.0_rc1-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Aug 15 08:29:37 2013 UTC (6 years, 11 months ago) by grobian
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
Marked ~x64-solaris

(Portage version: 2.2.01.22288-prefix/cvs/SunOS i386, signed Manifest commit with key 0x5F75F607C5C74E89)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/aview/aview-1.3.0_rc1-r3.ebuild,v 1.1 2012/08/06 01:09:29 ottxor Exp $
4
5 EAPI=4
6
7 inherit base
8
9 MY_P=${P/_/}
10 S=${WORKDIR}/${MY_P/rc*/}
11 DESCRIPTION="An ASCII Image Viewer"
12 SRC_URI="mirror://sourceforge/aa-project/${MY_P}.tar.gz"
13 HOMEPAGE="http://aa-project.sourceforge.net/aview/"
14
15 SLOT="0"
16 LICENSE="GPL-2"
17 KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris"
18 IUSE=""
19
20 DEPEND=">=media-libs/aalib-1.4_rc4"
21 RDEPEND="${DEPEND}"
22
23 PATCHES=(
24 "${FILESDIR}"/${P}-asciiview.patch
25 "${FILESDIR}"/${P}-includes.patch
26 )
27
28 src_prepare() {
29 base_src_prepare
30
31 sed -i -e 's:#include <malloc.h>:#include <stdlib.h>:g' "${S}"/*.c || die
32 }
33
34 src_compile() {
35 make aview
36 }
37
38 src_install() {
39 dobin aview asciiview
40
41 doman *.1
42 dodoc ANNOUNCE ChangeLog README TODO
43 }

  ViewVC Help
Powered by ViewVC 1.1.20