blob: 73634885661ef040a8a0b112efc8a2b363e73931 (
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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/allegttf/allegttf-2.0.ebuild,v 1.10 2005/04/16 21:07:09 mr_bones_ Exp $
DESCRIPTION="Anti-aliased text output and font loading routines for Allegro"
HOMEPAGE="http://huizen.dds.nl/~deleveld/allegttf.htm"
SRC_URI="http://huizen.dds.nl/~deleveld/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="ppc x86"
IUSE=""
DEPEND=">=media-libs/allegro-4.0.0"
src_unpack() {
unpack ${A}
sed -i \
-e 's/make/$(MAKE)/' "${S}/Makefile" \
|| die "sed failed"
}
src_compile() {
emake || die "emake failed"
emake examples || die "emake failed (examples)"
}
src_install() {
cd ${S}/source
# hardcoded install paths in makefile
sed -i \
-e s/'\/usr\/local'/'${D}\/usr'/ makefile.lnx \
|| die "sed failed"
cd ${S}
dodir /usr/include /usr/lib
make install || die "make install failed"
dodoc docs/*.txt *.txt || die "dodoc failed"
dohtml docs/allegttf.htm || die "dohtml failed"
insinto /usr/share/doc/${PF}/examples
doins examples/* || die "doins failed"
}
|