blob: b9f72c1307ca64e00e7c79a920503568f237467b (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
inherit eutils flag-o-matic multilib
VERSION="501" #every bump, new version
DESCRIPTION="Graphical LCD Driver"
HOMEPAGE="http://projects.vdr-developer.org/projects/show/graphlcd"
SRC_URI="mirror://vdr-developerorg/${VERSION}/${P}.tgz"
KEYWORDS="~amd64 ~ppc ~x86"
SLOT="0"
LICENSE="GPL-2"
IUSE="g15"
DEPEND="media-libs/freetype"
RDEPEND="g15? ( app-misc/g15daemon )
media-libs/freetype"
src_prepare() {
sed -i Make.config -e "s:usr\/local:usr:" -e "s:FLAGS *=:FLAGS ?=:"
epatch "${FILESDIR}/${PN}-0.1.5-nostrip.patch"
sed -i glcdskin/Makefile -e "s:-shared:\$(LDFLAGS) -shared:"
}
src_install() {
emake DESTDIR="${D}"/usr LIBDIR="${D}"/usr/$(get_libdir) install
insinto /etc
doins graphlcd.conf
dodoc docs/*
}
|