summaryrefslogtreecommitdiff
blob: 6e72f73c56ffd4958717039da11959e0c3b9e172 (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-0.7.0.ebuild,v 1.11 2003/02/13 17:04:30 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"
SLOT="0.7"

DEPEND="virtual/x11"
RDEPEND=${DEPEND}
IUSE=""
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc "

src_unpack() {
	unpack ${A}
	cd ${S}
	patch -p0 < ${FILESDIR}/Makefile-gentoo.diff
}
src_compile() {
	make || die
}
src_install () {
	cd ${S}
	insinto /usr/include/xosd-0.7.0
	doins xosd.h
	into /usr
	insinto /usr/lib/xosd-0.7.0
	doins libxosd.a
	doins libxosd.so
	mv osd_cat osd_cat-old
	dobin osd_cat-old
	mv osd_cat.1 osd_cat-old.1
	mv xosd.3 xosd-old.3
	ls -l
	doman osd_cat-old.1
	doman xosd-old.3
	dodoc AUTHORS ChangeLog NEWS COPYING README
}