/[gentoo-x86]/app-misc/lcdproc/lcdproc-0.4.3-r1.ebuild
Gentoo

Contents of /app-misc/lcdproc/lcdproc-0.4.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Tue Jun 8 21:37:59 2004 UTC (16 years, 5 months ago) by mr_bones_
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
clean older ebuilds

1 # Copyright 1999-2004 Gentoo Technologies, Inc.
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/lcdproc/lcdproc-0.4.3-r1.ebuild,v 1.6 2004/06/02 02:11:13 agriffis Exp $
4
5 SRC_URI="mirror://sourceforge/lcdproc/${P}.tar.gz"
6 DESCRIPTION="Client/Server suite to drive all kinds of LCD (-like) devices"
7 HOMEPAGE="http://lcdproc.org/"
8 SLOT="0"
9 LICENSE="GPL-2"
10 KEYWORDS="x86"
11 IUSE="doc ncurses svga"
12 S=${WORKDIR}/${P}
13
14 DEPEND=">=sys-apps/baselayout-1.6.4
15 >=sys-apps/sed-4
16 doc? ( >=app-text/docbook-sgml-utils-0.6.11-r2 )
17 ncurses? ( >=sys-libs/ncurses-5.3 )
18 svga? ( >=media-libs/svgalib-1.4.3 )"
19
20 src_unpack() {
21 unpack ${A} || die
22 cd ${S}
23
24 sed -i "889s:-O3:${CFLAGS}:" configure
25
26 # fix a few bugs ;)
27 patch -p2 < ${FILESDIR}/${P}-gentoo.diff || die \
28 "Patch #1 failed."
29 }
30
31 src_compile() {
32 local myconf
33
34 myconf="--enable-stat-nfs --enable-drivers=mtxorb,cfontz,text,lb216,hd44780,joy,irman,lircin,"
35 myconf="${myconf}bayrad,glk,stv5730,sed1330,sed1520,lcdm001,t6963"
36
37 use ncurses && myconf="${myconf},curses"
38 use svga && myconf="${myconf},svgalib"
39 use samba && myconf="$myconf --enable-stat-smbfs"
40
41 econf ${myconf} || die
42 emake || die
43
44 if use doc; then
45 cd ${S}/docs/lcdproc-user
46 docbook2html lcdproc-user.docbook
47 fi
48 }
49
50 src_install() {
51 dosbin server/LCDd
52 dobin clients/lcdproc/lcdproc
53
54 doman docs/lcdproc.1 docs/LCDd.8
55
56 dodoc README ChangeLog COPYING INSTALL
57
58 use doc && dohtml docs/lcdproc-user/*.html
59
60 docinto docs
61 dodoc docs/README.dg* docs/*.txt
62
63 insinto /usr/share/doc/${PF}/clients/examples
64 doins clients/examples/*.pl
65 insinto /usr/share/doc/${PF}/clients/headlines
66 doins clients/headlines/lcdheadlines
67
68 insinto /etc
69 doins LCDd.conf
70 doins scripts/lcdproc.conf
71
72 exeinto /etc/init.d
73 doexe ${FILESDIR}/LCDd
74 doexe ${FILESDIR}/lcdproc
75 }

  ViewVC Help
Powered by ViewVC 1.1.20