blob: c43f5f820c2c10c5789be2d5db06c70f7bc9f68a (
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
44
45
46
47
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mozart-stdlib/mozart-stdlib-1.3.2.ebuild,v 1.10 2012/03/18 15:40:07 armin76 Exp $
inherit eutils
MY_P="mozart-${PV}.20060615-std"
DESCRIPTION="The Mozart Standard Library"
HOMEPAGE="http://www.mozart-oz.org/"
SRC_URI="http://www.mozart-oz.org/download/mozart-ftp/store/1.3.2-2006-06-15-tar/mozart-1.3.2.20060615-std.tar.gz"
LICENSE="Mozart"
SLOT="0"
KEYWORDS="-amd64 ppc -ppc64 x86"
IUSE="doc"
DEPEND="dev-lang/mozart"
RDEPEND="${DEPEND}"
S="${WORKDIR}"/${MY_P}
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-ozmake.patch
epatch "${FILESDIR}"/${P}-doc.patch
}
src_compile() {
econf || die "econf failed"
emake || die "emake failed"
}
src_install() {
emake \
PREFIX="${D}"/usr/lib/mozart \
BINDIR="${D}"/usr/bin \
install || die "emake install failed"
if use doc ; then
dohtml -r *
fi
doman ozmake/ozmake.1
dodoc ozmake/{CHANGES,DESIGN,NOTES,README}
}
|