/[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.1 - (show annotations) (download)
Mon Aug 6 01:09:29 2012 UTC (23 months ago) by ottxor
Branch: MAIN
EAPI bumped to 4 and prefix build tweaks

(Portage version: 2.2.0_alpha120/cvs/Linux i686)

1 # Copyright 1999-2012 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-r2.ebuild,v 1.1 2011/02/23 17:56:58 signals 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"
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