summaryrefslogtreecommitdiff
blob: 2c1c3faf65a65b49ccb5ef593ac6ac2377c419a8 (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
# Copyright 2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $ Header: $
NAME=xosd
S=${WORKDIR}/${NAME}-${PV}
DESCRIPTION="Library for overlaying text/glyphs in X-Windows \
X-On-Screen-Display plus binary for sending text from command line."
SRC_URI="http://www.ignavus.net/${NAME}-${PV}.tar.gz"
HOMEPAGE="http://www.ignavus.net/"
DEPEND="virtual/x11
	virtual/glibc"
RDEPEND="${DEPEND}"
LICENSE="GPL"
SLOT="0"
KEYWORDS="x86"

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