summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <drac@gentoo.org>2007-08-27 16:40:50 +0000
committerSamuli Suominen <drac@gentoo.org>2007-08-27 16:40:50 +0000
commit09554a841dc6ba1a466b96a6765b174b9a84c038 (patch)
treebe06f48cc4211436dc5ba4dc1c013b2e584778d6
parentMask anubis here. (diff)
downloadgentoo-2-09554a841dc6ba1a466b96a6765b174b9a84c038.tar.gz
gentoo-2-09554a841dc6ba1a466b96a6765b174b9a84c038.tar.bz2
gentoo-2-09554a841dc6ba1a466b96a6765b174b9a84c038.zip
Install binaries and libraries to /opt as this is a binary only software. Keyword for ~amd64, bug 185081.
(Portage version: 2.1.3.7)
-rw-r--r--dev-lang/anubis/ChangeLog6
-rw-r--r--dev-lang/anubis/anubis-1.7.0.1.ebuild29
2 files changed, 26 insertions, 9 deletions
diff --git a/dev-lang/anubis/ChangeLog b/dev-lang/anubis/ChangeLog
index f5906e3e6195..4e6d14be7a0c 100644
--- a/dev-lang/anubis/ChangeLog
+++ b/dev-lang/anubis/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/anubis
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/anubis/ChangeLog,v 1.3 2007/07/22 09:03:16 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/anubis/ChangeLog,v 1.4 2007/08/27 16:40:50 drac Exp $
+
+ 27 Aug 2007; Samuli Suominen <drac@gentoo.org> anubis-1.7.0.1.ebuild:
+ Install binaries and libraries to /opt as this is a binary only software.
+ Keyword for ~amd64.
22 Jul 2007; Hans de Graaff <graaff@gentoo.org> anubis-1.7.0.1.ebuild:
Drop virtual/x11 references.
diff --git a/dev-lang/anubis/anubis-1.7.0.1.ebuild b/dev-lang/anubis/anubis-1.7.0.1.ebuild
index 9cdae937b118..8b8f06839a0f 100644
--- a/dev-lang/anubis/anubis-1.7.0.1.ebuild
+++ b/dev-lang/anubis/anubis-1.7.0.1.ebuild
@@ -1,26 +1,31 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/anubis/anubis-1.7.0.1.ebuild,v 1.2 2007/07/22 09:03:16 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/anubis/anubis-1.7.0.1.ebuild,v 1.3 2007/08/27 16:40:50 drac Exp $
-inherit versionator
+inherit eutils versionator
MY_PV=$(replace_all_version_separators '_' ${PV})
+
DESCRIPTION="mathematic logic based programming language"
HOMEPAGE="http://www.anubis-language.com"
SRC_URI="mirror://gentoo/Anubis_${MY_PV}_Linux.tar.gz"
LICENSE="anubis"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
-RDEPEND="media-libs/jpeg
- dev-libs/openssl
- x11-libs/libX11"
+RDEPEND="x86? ( media-libs/jpeg
+ x11-libs/libX11
+ virtual/libstdc++ )
+ amd64? ( app-emulation/emul-linux-x86-baselibs
+ app-emulation/emul-linux-x86-compat )"
+
+RESTRICT="strip"
src_unpack() {
- unpack "${A}"
+ unpack ${A}
mkdir "${S}"
tar -C "${S}" -xzf anubis_binaries.tar.gz
tar -C "${S}" -xzf anubis_files.tar.gz
@@ -33,7 +38,15 @@ src_install() {
insinto /usr/share/doc/${P}/${i}
doins ${i}/*
done
- dobin bin/*
+
+ exeinto /opt/${PN}
+ doexe bin/*
+
+ insinto /opt/${PN}/lib
+ doins lib/lib{ssl,crypto}.so.0.9.7
+
+ make_wrapper anubis ./anubis /opt/${PN} /opt/${PN}/lib || die "make_wrapper failed."
+ make_wrapper anbexec ./anbexec /opt/${PN} /opt/${PN}/lib || die "make_wrapper failed."
}
pkg_postinst() {