diff options
author | 2008-05-08 23:48:32 +0000 | |
---|---|---|
committer | 2008-05-08 23:48:32 +0000 | |
commit | 51ba3efc20a18ff0710a8fdfd31edb0a9df9001d (patch) | |
tree | dc81c84877fffec5d282cebf06fabcde274d5a1e | |
parent | Version bumped. (diff) | |
download | secondlife-51ba3efc20a18ff0710a8fdfd31edb0a9df9001d.tar.gz secondlife-51ba3efc20a18ff0710a8fdfd31edb0a9df9001d.tar.bz2 secondlife-51ba3efc20a18ff0710a8fdfd31edb0a9df9001d.zip |
initial import.
svn path=/secondlife/; revision=48
-rw-r--r-- | net-libs/llmozlib2/Manifest | 1 | ||||
-rw-r--r-- | net-libs/llmozlib2/llmozlib2-9999.ebuild | 62 |
2 files changed, 63 insertions, 0 deletions
diff --git a/net-libs/llmozlib2/Manifest b/net-libs/llmozlib2/Manifest new file mode 100644 index 0000000..55c0174 --- /dev/null +++ b/net-libs/llmozlib2/Manifest @@ -0,0 +1 @@ +EBUILD llmozlib2-9999.ebuild 1413 RMD160 df8a73862ee2ae6d6c2d117ac20f51e361945e35 SHA1 a08e1319748fa8a43965565b9f48d08a96d3a051 SHA256 e42b7b59abf1724113195bb62c66e7644c5d17f27078b0d43e04568df17569ef diff --git a/net-libs/llmozlib2/llmozlib2-9999.ebuild b/net-libs/llmozlib2/llmozlib2-9999.ebuild new file mode 100644 index 0000000..68515f0 --- /dev/null +++ b/net-libs/llmozlib2/llmozlib2-9999.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils subversion toolchain-funcs multilib + +DESCRIPTION="LLMozLib2" +HOMEPAGE="http://wiki.secondlife.com/wiki/LLMozLib2" +SRC_URI="" +ESVN_REPO_URI="http://svn.secondlife.com/svn/llmozlib/trunk/llmozlib2" + +LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=sys-devel/binutils-2.16.1 + >=dev-libs/nss-3.11.8 + >=dev-libs/nspr-4.6.8" + +src_unpack() { + subversion_src_unpack + cd "${S}" + sed -i \ + -e "s/\(GCC_VERSION=\).*/\1$(gcc-fullversion)/" \ + -e "s/gcc-\$GCC_VERSION/$(tc-getCC)/" \ + -e "s/g\+\+-\$GCC_VERSION/$(tc-getCXX)/" \ + build_mozilla/linux-libxul-bits/mozconfig || die + sed -i \ + -e "/cvs login/d" \ + build_mozilla/linux-checkout_patch_build.sh || die + + local MOZARCH + MOZARCH="$(uname -m)-linux" + + sed -i \ + -e "s/\(CXX=\).*/\1$(tc-getCXX)/" \ + -e "s/\(MOZARCH=\).*/\1${MOZARCH}/" \ + build-linux-llmozlib.sh || die +} + +src_compile() { + cd build_mozilla || die + ./linux-checkout_patch_build.sh || die + cd .. || die + ./copy_products_linux.sh || die + ./build-linux-llmozlib.sh || die +} + +src_install() { + local MOZARCH="$(uname -m)-linux" + + dolib.a libllmozlib2.a || die + + insopts -m0755 + insinto "/usr/$(get_libdir)/${PN}" + for f in "${S}"/libraries/${MOZARCH}/runtime_release/*; do + doins -r "${f}" + done + + dodoc README-linux* +} |