blob: 88c9b4c453aa1f5afad159227d146730048d951d (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/xosd/xosd-2.0.1-r1.ebuild,v 1.3 2003/02/13 17:04:49 vapier Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Library for overlaying text/glyphs in X-Windows \
X-On-Screen-Display plus binary for sending text from command line."
HOMEPAGE="http://www.ignavus.net/"
SRC_URI="http://www.ignavus.net/${P}.tar.gz"
IUSE="xmms"
DEPEND="virtual/x11
xmms? ( media-sound/xmms
media-libs/gdk-pixbuf )"
RDEPEND=${DEPEND}
SLOT="1"
LICENSE="GPL-2"
KEYWORDS="x86 ~sparc ~ppc"
src_unpack() {
unpack ${A}
cd ${S}
patch -p0 < ${FILESDIR}/configure-gentoo.diff || die
}
src_compile() {
local myconf
if [ "`use xmms`" ]; then
myconf="--with-plugindir=/usr/lib/xmms"
else
myconf="--without-plugindir"
fi
econf || die
emake || die
}
src_install() {
make DESTDIR=${D} install || die
dodoc AUTHORS ChangeLog NEWS COPYING README
}
|