diff options
author | Julian Ospald <hasufell@gentoo.org> | 2013-01-18 20:46:48 +0000 |
---|---|---|
committer | Julian Ospald <hasufell@gentoo.org> | 2013-01-18 20:46:48 +0000 |
commit | 25bf01769c46d37d91ce9f94a785583c80dfc808 (patch) | |
tree | 4d635b20378594fe36198f7eddc656a42d1a1fbb /dev-libs/angelscript | |
parent | initial import wrt #122061 (diff) | |
download | historical-25bf01769c46d37d91ce9f94a785583c80dfc808.tar.gz historical-25bf01769c46d37d91ce9f94a785583c80dfc808.tar.bz2 historical-25bf01769c46d37d91ce9f94a785583c80dfc808.zip |
initial import wrt #122061
Package-Manager: portage-2.2.0_alpha153/cvs/Linux x86_64
Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'dev-libs/angelscript')
-rw-r--r-- | dev-libs/angelscript/Manifest | 18 | ||||
-rw-r--r-- | dev-libs/angelscript/angelscript-2.25.2.ebuild | 50 | ||||
-rw-r--r-- | dev-libs/angelscript/files/angelscript-2.25.2-QA.patch | 55 | ||||
-rw-r--r-- | dev-libs/angelscript/metadata.xml | 9 |
4 files changed, 130 insertions, 2 deletions
diff --git a/dev-libs/angelscript/Manifest b/dev-libs/angelscript/Manifest index c55dba22d4fc..0a8702793a03 100644 --- a/dev-libs/angelscript/Manifest +++ b/dev-libs/angelscript/Manifest @@ -1,5 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA256 + AUX angelscript-2.25.2-QA.patch 1987 SHA256 8c0adc188e66088a194c3c2c24a7dc55371427d15e29982a432403abf79b4614 SHA512 bf6f3f61fbc907d45f475d7bb10fb5087430eeb2d00080b4cf81749d108e931da5fe072b06245f96d1d6e38ee1714d7b3d5c59c5e641e70d26a8a80a5e679b62 WHIRLPOOL b24ab3ceb9db9c65ffdebbd2e167c3d0dcbe74ade95487bd07466d33aaf1e4953049dafc8fd1ab8f5c6403812ce6a8faccd1cc5c85d29f396be219685014c5df DIST angelscript_2.25.2.zip 1232872 SHA256 84f2befc22f0541becf987519f6dc3d5dd561547bb5e6219327374ead0d516eb SHA512 78e7b077caac7eb426cd70fb6c23fb9433c120333e53281ec218feaf7ef615ad5dca433b5d127e80797f6540b8643f3af231664a3ebce39f4972b88309ab0823 WHIRLPOOL 70387ee26eaae4aaa04a1311cb4c1806ff400c576498a42aee751fa94ae952aaa455c7a4bc6eec55f009532b1f3ee4a825cc60df608e3e9b125d19952b8de503 -EBUILD angelscript-2.25.2.ebuild 1025 SHA256 8bac486c0962c0299991a9577ae6396d9d4c195530279c86661519aa3a8e4e2c SHA512 bb32027d3f30538c1cd05e690e2f30ab5ca284a58f2333d325e9efa6df795b6971750c6bedd94727b2775211167c5b5ee73942726d169cc7e5281020a07af84a WHIRLPOOL 3e6c55c13c092f9a785d726fc149416dec0444d34452a715427250769a58c347152d6eebe7cc0dc22adc8715aacbb985b21bd6fc0f9252b1f5d3492925c9602e -MISC ChangeLog 318 SHA256 491647cf4d0442bab77901c5a3ac0a61db2a162e1f717820cd67db3a4da3753b SHA512 fe40537b7ea735abb4469d418e3e08a4c913cdc7b37a91072c17b2762a3d4d261efa557f2332700e404f17e7d2e6b9d40db126949a1bd40bdc2353efe7250702 WHIRLPOOL 798a7bc80ba13194d83f96ea9a22f8cc5d8d11314e0798513a367581631104f8685bcbe1ba92c0be8f7ec68e9a5fc1c9ef83582d0d62b70b75a1409ef7ae5b48 +EBUILD angelscript-2.25.2.ebuild 1135 SHA256 cc29dbbc08d91aa87561326bfe10db24d95743999835a89fa02e01a06ce560d8 SHA512 f73d1c6fe750a692c37e597181a8229032dedb511b8a45756fdfc1adf6ceedc10a0eeb08f2f3e9932775a3bd4991d85492fa5423be19ffa9609d35feb688d375 WHIRLPOOL 77ef321bb609de4752d53d1538adc2ab2a86c701b6f42ee68693284e2d5caa1e50d85a144209b608719326cdf39282f9e1f5ab08ac4f0bb2e2270e72500a0b39 +MISC ChangeLog 412 SHA256 8f598c107bb241d02261b117a421e00c84bfe71fec0ba982fc0a0d9a0c1494f7 SHA512 82d7c5fab712be53a54a118be6441259bcf28c9ffbb4e2f3905a387a0dfefcd5452fb81f385535b7f63eb41d7c1c0a54d3031fc036dc0682e418e194c52be89f WHIRLPOOL 9ef5c630672bde494c2570f430a318dcbc4b89a2e85a993a4f67678f0697609f3c6b4e7660d1d7226cf46bc8fbc42d70ebaaa941babdc7f90f77ead7d533faec MISC metadata.xml 235 SHA256 11ffaf6c7e9d3f8dbb48fb60cd443d87b61015bc3197206ca230f5c2b0c1e013 SHA512 8ff2114c96567a53f83cd07149d1530286182f54b3d1286b9ceccea41e85734be19d0f60876c73880d76baac48e698de91114bfda459e2ee6ade9c3237847133 WHIRLPOOL bd4bb26791fe245f1c2407aa690887524eef3e76de87b4f2b7049f436661ee78a669e4fe4415e227aa50ee404bbfbaf1822fa648792919f93cb3674fa0f55858 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.19 (GNU/Linux) + +iQEcBAEBCAAGBQJQ+bS4AAoJEFpvPKfnPDWzKcMH/jU7fDqi+b0Q0a++48B4s6Az +d74/Rw14+TMWe//bl3npCDvmEWDKmy8eTdzPRCtBNYoQ4yFS4tRWTyfaq/mTjpnz +fAO97WwUirzNo98qtOfXV4IBaQ1H0WHxFTKwM1nBHeADFDreLk1NGFBfSuGV9h7L +0HF5KIWF3KYH39G1+rDwHfCvOHWlyr6J87Q/Qq0QzOQDadyZGaNKovU8wzIb0Kgs +anLGx7FhJ5nyEalKYekzcO6i7vNk+pKvNCRQkfUjAf/D3BPLpn5wiJEqsOAviaww +CZVmCP2P6nclk5k5WpOg1n0fcy3eLlO1oG5yZf4DkS48Jv1gty2Z+PleLd7B6SU= +=Ibvp +-----END PGP SIGNATURE----- diff --git a/dev-libs/angelscript/angelscript-2.25.2.ebuild b/dev-libs/angelscript/angelscript-2.25.2.ebuild new file mode 100644 index 000000000000..4d0acdf2a1d7 --- /dev/null +++ b/dev-libs/angelscript/angelscript-2.25.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/angelscript/angelscript-2.25.2.ebuild,v 1.1 2013/01/18 20:46:44 hasufell Exp $ + +EAPI=5 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="A flexible, cross-platform scripting library" +HOMEPAGE="http://www.angelcode.com/angelscript/" +SRC_URI="http://www.angelcode.com/angelscript/sdk/files/angelscript_${PV}.zip" + +LICENSE="ZLIB" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +DEPEND="app-arch/unzip" + +S=${WORKDIR}/sdk/${PN}/projects/gnuc +S2=${WORKDIR}/${P}_static + +src_prepare() { + epatch "${FILESDIR}"/${P}-QA.patch + + if use static-libs ; then + cp -a "${WORKDIR}"/sdk "${S2}"/ || die + fi +} + +src_compile() { + tc-export CXX AR RANLIB + + emake SHARED=1 VERSION=${PV} + + if use static-libs ; then + cd "${S2}"/${PN}/projects/gnuc || die + emake + fi +} + +src_install() { + dodir /usr/include + dodir /usr/$(get_libdir) + emake SHARED=1 VERSION=${PV} LOCAL="${D}/usr" INSTALL_LIBDIR="$(get_libdir)" install + + if use static-libs ; then + dolib.a "${S2}"/${PN}/lib/libangelscript.a + fi +} diff --git a/dev-libs/angelscript/files/angelscript-2.25.2-QA.patch b/dev-libs/angelscript/files/angelscript-2.25.2-QA.patch new file mode 100644 index 000000000000..484aebf4cc15 --- /dev/null +++ b/dev-libs/angelscript/files/angelscript-2.25.2-QA.patch @@ -0,0 +1,55 @@ +--- sdk/angelscript/projects/gnuc/makefile ++++ sdk/angelscript/projects/gnuc/makefile +@@ -3,6 +3,7 @@ +
+ # For 'make install' to work, set LOCAL according to your system configuration
+ LOCAL = /usr/local
++INSTALL_LIBDIR = lib
+
+ # If you want to build a shared library, then run make with SHARED=1 and VERSION=version
+ ifdef SHARED
+@@ -44,10 +45,10 @@ + else
+ OBJDIR = obj
+ LIBDIR = ../../lib
+- CXX ?= gcc
++ CXX ?= g++
+ # On i686 architecture you may need to add -march=i686 if you get
+ # an undefined symbol for __sync_sub_and_fetch_4 in as_atomic.cpp.
+- CXXFLAGS += -g -Wall -fPIC -fno-strict-aliasing
++ CXXFLAGS += -Wall -fPIC -fno-strict-aliasing
+ endif
+
+ AR ?= ar
+@@ -106,7 +107,7 @@ +
+ $(BIN): $(OBJDIR) $(LIBDIR) $(OBJ)
+ ifdef SHARED
+- $(CXX) -shared -Wl,-soname,$(LIB) -o $(BIN) $(OBJ)
++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -shared -Wl,-soname,$(LIB) -o $(BIN) $(OBJ)
+ ( cd $(LIBDIR); ln -s $(LIB) $(DEVLIB) )
+ else
+ $(AR) r $(BIN) $(OBJ)
+@@ -135,18 +136,18 @@ + $(DELETER) $(OBJ) $(BIN) $(LIBDIR)/$(DEVLIB)
+
+ install: $(BIN)
+- @echo Installing to: $(LOCAL)/lib and $(LOCAL)/include...
++ @echo Installing to: $(LOCAL)/$(INSTALL_LIBDIR) and $(LOCAL)/include...
+ @echo -------------------------------------------------------------------
+ ifdef SHARED
+- $(COPIER) $(LIBDIR)/$(DEVLIB) $(LOCAL)/lib
++ $(COPIER) $(LIBDIR)/$(DEVLIB) $(LOCAL)/$(INSTALL_LIBDIR)
+ endif
+- $(COPIER) $(BIN) $(LOCAL)/lib
++ $(COPIER) $(BIN) $(LOCAL)/$(INSTALL_LIBDIR)
+ $(COPIER) $(INCDIR)/$(INC) $(LOCAL)/include
+ @echo -------------------------------------------------------------------
+ @echo Angelscript library installed. Enjoy!
+
+ uninstall:
+- $(DELETER) $(LOCAL)/include/$(INC) $(LOCAL)/lib/$(LIB) $(LOCAL)/lib/$(DEVLIB)
++ $(DELETER) $(LOCAL)/include/$(INC) $(LOCAL)/$(INSTALL_LIBDIR)/$(LIB) $(LOCAL)/$(INSTALL_LIBDIR)/$(DEVLIB)
+ @echo -------------------------------------------------------------------
+ @echo Angelscript library uninstalled.
+
diff --git a/dev-libs/angelscript/metadata.xml b/dev-libs/angelscript/metadata.xml new file mode 100644 index 000000000000..bfabcd0164b9 --- /dev/null +++ b/dev-libs/angelscript/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> +</pkgmetadata> + |