Lines 1-6
Link Here
|
1 |
# Copyright 1999-2005 Gentoo Foundation |
1 |
# Copyright 1999-2005 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog-lite/swi-prolog-lite-5.5.39.ebuild,v 1.3 2005/12/01 09:51:46 vapier Exp $ |
3 |
# $Header: $ |
4 |
|
4 |
|
5 |
inherit autotools eutils flag-o-matic |
5 |
inherit autotools eutils flag-o-matic |
6 |
|
6 |
|
Lines 37-50
Link Here
|
37 |
unpack ${A} |
37 |
unpack ${A} |
38 |
cd "${S}" |
38 |
cd "${S}" |
39 |
|
39 |
|
|
|
40 |
epatch "${FILESDIR}"/${P}-test.patch |
41 |
|
40 |
if ! use minimal ; then |
42 |
if ! use minimal ; then |
41 |
epatch "${FILESDIR}"/${P}-packages-CFLAGS.patch |
43 |
epatch "${FILESDIR}"/${P}-packages-CFLAGS.patch |
42 |
epatch "${FILESDIR}"/${P}-packages-mp-DESTDIR.patch |
44 |
epatch "${FILESDIR}"/${P}-packages-portage.patch |
43 |
epatch "${FILESDIR}"/${P}-packages-semweb-DESTDIR.patch |
|
|
44 |
epatch "${FILESDIR}"/${P}-packages-db-db4.patch |
45 |
epatch "${FILESDIR}"/${P}-packages-db-db4.patch |
45 |
epatch "${FILESDIR}"/${P}-packages-jpl-arch.patch |
46 |
epatch "${FILESDIR}"/${P}-packages-jpl-arch.patch |
46 |
epatch "${FILESDIR}"/${P}-packages-ltx2htm.patch |
47 |
epatch "${FILESDIR}"/${P}-packages-ltx2htm.patch |
47 |
epatch "${FILESDIR}"/${P}-packages-docs.patch |
48 |
epatch "${FILESDIR}"/${P}-packages-test.patch |
48 |
fi |
49 |
fi |
49 |
} |
50 |
} |
50 |
|
51 |
|
Lines 102-110
Link Here
|
102 |
|
103 |
|
103 |
src_install() { |
104 |
src_install() { |
104 |
make -C src DESTDIR="${D}" install || die "install src failed" |
105 |
make -C src DESTDIR="${D}" install || die "install src failed" |
105 |
make -C packages DESTDIR="${D}" install || die "install packages failed" |
106 |
|
106 |
if use doc ; then |
107 |
if ! use minimal ; then |
107 |
make -C packages DESTDIR="${D}" html-install || die "html-install failed" |
108 |
make -C packages DESTDIR="${D}" install || die "install packages failed" |
|
|
109 |
if use doc ; then |
110 |
make -C packages DESTDIR="${D}" html-install || die "html-install failed" |
111 |
fi |
108 |
fi |
112 |
fi |
|
|
113 |
|
109 |
dodoc ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README README.GUI VERSION |
114 |
dodoc ANNOUNCE ChangeLog INSTALL INSTALL.notes PORTING README README.GUI VERSION |
110 |
} |
115 |
} |
|
|
116 |
|
117 |
src_test() { |
118 |
cd "${S}/src" |
119 |
make check || die "make check failed. See above for details." |
120 |
|
121 |
if ! use minimal ; then |
122 |
cd "${S}/packages" |
123 |
make check || die "make check failed. See above for details." |
124 |
fi |
125 |
} |