blob: 0d73b7c5ae1606f764bff899805db1b05d5af130 (
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 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/liblingoteach/liblingoteach-0.2.1.ebuild,v 1.1 2004/12/30 05:44:54 chriswhite Exp $
inherit eutils
DESCRIPTION="A library to support lingoteach-ui and for generic lesson development."
HOMEPAGE="http://www.lingoteach.org"
SRC_URI="mirror://sourceforge/lingoteach/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc"
IUSE="debug zlib"
DEPEND="dev-util/pkgconfig
zlib? ( sys-libs/zlib )"
src_unpack() {
unpack ${A}
cd ${S}
}
src_compile() {
econf \
$(use_enable zlib compression) \
$(use_enable debug) \
|| die "econf failed"
sed -i -e "s:^HTML_DIR = :HTML_DIR = ${D}/:" -i doc/Makefile
emake || die "emake failed"
}
src_install() {
make DESTDIR=${D} install || die
}
|