diff options
Diffstat (limited to 'app-misc/graphlcd-base/graphlcd-base-0.1.9.ebuild')
-rw-r--r-- | app-misc/graphlcd-base/graphlcd-base-0.1.9.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app-misc/graphlcd-base/graphlcd-base-0.1.9.ebuild b/app-misc/graphlcd-base/graphlcd-base-0.1.9.ebuild new file mode 100644 index 000000000000..b9f72c1307ca --- /dev/null +++ b/app-misc/graphlcd-base/graphlcd-base-0.1.9.ebuild @@ -0,0 +1,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/* +} |