/[gentoo-x86]/app-misc/graphlcd-base/graphlcd-base-0.1.5-r1.ebuild
Gentoo

Contents of /app-misc/graphlcd-base/graphlcd-base-0.1.5-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Mon Feb 20 01:21:04 2012 UTC (2 years, 8 months ago) by floppym
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +3 -3 lines
Use mirror://vdr-developerorg in SRC_URI.

(Portage version: 2.2.0_alpha87/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/graphlcd-base/graphlcd-base-0.1.5-r1.ebuild,v 1.9 2011/10/07 18:56:38 hd_brummy Exp $
4
5 inherit eutils flag-o-matic multilib
6
7 VERSION="226" # every bump, new version
8
9 DESCRIPTION="Graphical LCD Driver"
10 HOMEPAGE="http://projects.vdr-developer.org/projects/graphlcd"
11 SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz
12 mirror://vdrfiles/${PN}/${P}_utf8.diff.tgz"
13
14 KEYWORDS="amd64 x86 ~ppc"
15 SLOT="0"
16 LICENSE="GPL-2"
17 IUSE="truetype unicode g15"
18
19 DEPEND=""
20
21 RDEPEND="truetype? ( media-libs/freetype media-fonts/corefonts )
22 unicode? ( media-libs/freetype media-fonts/corefonts )
23 g15? ( app-misc/g15daemon )"
24
25 src_unpack() {
26
27 unpack ${A}
28 cd "${S}"
29
30 sed -i Make.config -e "s:usr\/local:usr:" -e "s:FLAGS *=:FLAGS ?=:"
31 epatch "${FILESDIR}/${P}-nostrip.patch"
32 epatch "${FILESDIR}/${P}-gcc43.patch"
33
34 use !truetype && sed -i "s:HAVE_FREETYPE2:#HAVE_FREETYPE2:" Make.config
35
36 use unicode && epatch "${WORKDIR}/${P}_utf8.diff" && \
37 sed -i "s:#HAVE_FREETYPE2:HAVE_FREETYPE2:" Make.config
38 }
39
40 src_install() {
41
42 make DESTDIR="${D}"/usr LIBDIR="${D}"/usr/$(get_libdir) install || die "make install failed"
43
44 insinto /etc
45 doins graphlcd.conf
46
47 dodoc docs/*
48 }

  ViewVC Help
Powered by ViewVC 1.1.20