summaryrefslogtreecommitdiff
blob: 60ba4bd67344b2531291e5e3563b53f926bf41fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2 
# $Header: /var/cvsroot/gentoo-x86/media-video/alevt/alevt-1.6.0-r3.ebuild,v 1.1 2002/07/09 09:21:00 seemant Exp $ 

S=${WORKDIR}/${P}

DESCRIPTION="Teletext viewer for X11"
SRC_URI="http://www.ibiblio.org/pub/Linux/apps/video/${P}.tar.gz"
HOMEPAGE="http://www.goron.de/~froese/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"

DEPEND=">=x11-base/xfree-4.0.1
	>=media-libs/libpng-1.0.12"
	

LICENSE="GPL-2"

src_unpack() {

	unpack ${P}.tar.gz
	cd ${WORKDIR}

	# Parallel make patch
	patch -p0 < ${FILESDIR}/${P}-gentoo.diff

}

src_compile() {
	
	emake || die

}

src_install () {

	dobin alevt alevt-cap alevt-date
	doman alevt.1x alevt-date.1 alevt-cap.1
	dodoc CHANGELOG COPYRIGHT README

	use gnome && ( \
		insinto /usr/share/pixmaps
		newins contrib/mini-alevt.xpm alevt.xpm
		insinto /usr/share/applications
		doins ${FILESDIR}/alevt.desktop
	)
}