/[gentoo-x86]/media-video/alevt/alevt-1.6.2.ebuild
Gentoo

Contents of /media-video/alevt/alevt-1.6.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Tue Oct 4 21:34:32 2011 UTC (3 years, 2 months ago) by phajdan.jr
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
x86 stable wrt bug #385199

(Portage version: 2.1.10.11/cvs/Linux i686)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-video/alevt/alevt-1.6.2.ebuild,v 1.3 2011/09/14 11:54:46 ssuominen Exp $
4
5 EAPI=4
6 inherit eutils toolchain-funcs flag-o-matic
7
8 DESCRIPTION="Teletext viewer for X11"
9 HOMEPAGE="http://www.goron.de/~froese/"
10 SRC_URI="http://www.goron.de/~froese/alevt/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc ~sparc x86"
15 IUSE=""
16
17 RDEPEND="x11-libs/libX11
18 >=media-libs/libpng-1.4"
19 DEPEND="${RDEPEND}
20 x11-proto/xproto"
21
22 RESTRICT="strip"
23
24 src_prepare() {
25 cp -va Makefile{,.orig}
26
27 epatch \
28 "${FILESDIR}"/${P}-respectflags.patch \
29 "${FILESDIR}"/${P}-libpng15.patch
30 }
31
32 src_compile() {
33 append-flags -fno-strict-aliasing
34 emake CC="$(tc-getCC)"
35 }
36
37 src_install() {
38 dobin alevt alevt-cap alevt-date
39 doman alevt.1x alevt-date.1 alevt-cap.1
40 dodoc CHANGELOG README
41
42 insinto /usr/share/icons/hicolor/16x16/apps
43 newins contrib/mini-alevt.xpm alevt.xpm
44 insinto /usr/share/icons/hicolor/48x48/apps
45 newins contrib/icon48x48.xpm alevt.xpm
46
47 make_desktop_entry alevt "AleVT" alevt
48 }

  ViewVC Help
Powered by ViewVC 1.1.20