summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/lablgtk/lablgtk-1.2.7.ebuild')
-rw-r--r--dev-ml/lablgtk/lablgtk-1.2.7.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/dev-ml/lablgtk/lablgtk-1.2.7.ebuild b/dev-ml/lablgtk/lablgtk-1.2.7.ebuild
index a9151745a7c4..cfee8c1defea 100644
--- a/dev-ml/lablgtk/lablgtk-1.2.7.ebuild
+++ b/dev-ml/lablgtk/lablgtk-1.2.7.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/lablgtk-1.2.7.ebuild,v 1.3 2005/07/12 22:35:34 mattam Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ml/lablgtk/lablgtk-1.2.7.ebuild,v 1.4 2005/07/24 15:53:21 herbs Exp $
+
+inherit multilib
IUSE="gnome opengl"
@@ -20,13 +22,13 @@ RDEPEND=${DEPEND}
SRC_URI="http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgtk-${PV}.tar.gz"
SLOT="1"
-KEYWORDS="x86 ppc ~sparc ~alpha ~ia64 ~amd64 ~hppa"
+KEYWORDS="x86 ppc ~sparc ~alpha ~ia64 amd64 ~hppa"
Name="LablGTK"
src_compile() {
- local myconf="USE_DOTOPT=1 BINDIR=${D}/usr/bin INSTALLDIR=${D}/usr/lib/ocaml/lablgtk DLLDIR=${D}/usr/lib/ocaml/stublibs"
+ local myconf="USE_DOTOPT=1 BINDIR=${D}/usr/bin INSTALLDIR=${D}/usr/$(get_libdir)/ocaml/lablgtk DLLDIR=${D}/usr/$(get_libdir)/ocaml/stublibs"
use gnome && myconf="$myconf USE_GNOME=1 USE_GLADE=1"
use opengl && myconf="$myconf USE_GL=1"
@@ -36,7 +38,7 @@ src_compile() {
}
src_install () {
- dodir /usr/bin /usr/lib/ocaml/lablgtk /usr/lib/ocaml/stublibs
+ dodir /usr/bin /usr/$(get_libdir)/ocaml/lablgtk /usr/$(get_libdir)/ocaml/stublibs
make install || die
dosed /usr/bin/lablgtk
dodoc CHANGES COPYING README