summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Callen <jcallen@gentoo.org>2010-02-21 00:02:24 +0000
committerJonathan Callen <jcallen@gentoo.org>2010-02-21 00:02:24 +0000
commit375dd95cd23fdca87f0c75f0a05b4be07723df14 (patch)
tree664a07b3b6194298cd636e9a45ebd6779f67cb25 /dev-libs/libtommath
parentVersion bump, bug #305929. (diff)
downloadhistorical-375dd95cd23fdca87f0c75f0a05b4be07723df14.tar.gz
historical-375dd95cd23fdca87f0c75f0a05b4be07723df14.tar.bz2
historical-375dd95cd23fdca87f0c75f0a05b4be07723df14.zip
Transfer prefix keywords, bump EAPI
Package-Manager: portage--svn/cvs/Linux i686
Diffstat (limited to 'dev-libs/libtommath')
-rw-r--r--dev-libs/libtommath/ChangeLog7
-rw-r--r--dev-libs/libtommath/Manifest14
-rw-r--r--dev-libs/libtommath/libtommath-0.41.ebuild21
3 files changed, 30 insertions, 12 deletions
diff --git a/dev-libs/libtommath/ChangeLog b/dev-libs/libtommath/ChangeLog
index 85ec81df283e..952a9504b662 100644
--- a/dev-libs/libtommath/ChangeLog
+++ b/dev-libs/libtommath/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/libtommath
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtommath/ChangeLog,v 1.29 2009/07/28 21:53:31 vostorga Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtommath/ChangeLog,v 1.30 2010/02/21 00:02:24 abcd Exp $
+
+ 21 Feb 2010; Jonathan Callen <abcd@gentoo.org> libtommath-0.41.ebuild:
+ Transfer prefix keywords, bump EAPI
28 Jul 2009; VĂ­ctor Ostorga <vostorga@gentoo.org>
libtommath-0.36-r1.ebuild, +files/libtommath-0.36-CC.patch,
diff --git a/dev-libs/libtommath/Manifest b/dev-libs/libtommath/Manifest
index 1ecdd5d995be..0e470faa5556 100644
--- a/dev-libs/libtommath/Manifest
+++ b/dev-libs/libtommath/Manifest
@@ -1,3 +1,6 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX libtommath-0.36-CC.patch 2092 RMD160 069f257b8a4f69e9803dbe418cbc3c3d69c93a6f SHA1 e0246753a70cede88e887092f2ad80743daac70b SHA256 8e1379b42651c338f60b2785a91226285a91b39eed53075aaef1e54b86e51af9
AUX libtommath-0.36-LDFLAGS.patch 1017 RMD160 fd42d3f614fcbf13dd72084a95a275c719b524b5 SHA1 060ececae235aeac62af2988fadc6b122a61c9df SHA256 d995282988eadb5a5bad6306025269ca1003523cff5e887a993e915a611c8dd7
AUX libtommath-0.36-shared-lib.patch 948 RMD160 0dd3cd1bb4508623c24e4f57106d05975d81904f SHA1 6a65b2c21db1bfdfe342d78cff4204da495c6b06 SHA256 c09eae16b6094ba85e78413abc72b57437c51abfd9caff9aa87558223a385b23
@@ -6,6 +9,13 @@ AUX libtommath-0.41-LDFLAGS.patch 1238 RMD160 a2d084bd5fc0ad19bb0508e0b5702f029d
DIST ltm-0.36.tar.bz2 1924150 RMD160 f9fc66d076913b7e6b0226470b5cff3caa704c2d SHA1 f62419350a13d3f771dd2912b688b37dc912666a SHA256 16243c61694a52553a2d65c097456e024d8dcd9e3571c8f712ca163eaa769c6b
DIST ltm-0.41.tar.bz2 1972854 RMD160 de6de0aedba8eb37687b4f583263713f1882fec8 SHA1 a6db2221c64a1951c5c78d573dbf427f989fd346 SHA256 8e397fc42a12f520ea50c29e477a8768a6f974af2470636f6f807141c13a240c
EBUILD libtommath-0.36-r1.ebuild 993 RMD160 a169bda6f9a6d84c9093008d76b03fff31cc3579 SHA1 0e26162117303897532863c1ea665d8423b78e05 SHA256 19ea24b694553a68425d12af6e371739cefaea4d0b2a0b738d3c422d85bab597
-EBUILD libtommath-0.41.ebuild 949 RMD160 6d15ca3a7a852c115150d81664a0ac2e58f06edc SHA1 c6dfa2f150ed221695d4c1dae2c0ab94859e1a75 SHA256 aaade666e60ba2e26a88e969a2f16e192ed913e2dff96908f28bcfdc82d488e9
-MISC ChangeLog 3934 RMD160 ea0409281f28a2e7cc33d1ed5e22f2cc3e27f85a SHA1 d319c38c9318da6fea6f18c888e8b1b9a132b112 SHA256 a68aaa394460e019fde59c225bed02d7ef55ef78d539a600699548041383d0ce
+EBUILD libtommath-0.41.ebuild 1206 RMD160 bc8ef343fc3dddfe3a11f3158704589934a84f9f SHA1 5644c15c9d5a3120a4cc9c552fdbe32ab7100906 SHA256 05a09df91cb6cca4a737a7ffde5d1aace4696a3f55b39fab2d8631a66e10b1db
+MISC ChangeLog 4042 RMD160 5af76ac32a797fac0640ef8db185164de42d0678 SHA1 c3f8bf2dacbfb5ae74eef4ee736ca06de72ac81a SHA256 85aa1988fc116eac579a600cbaa4fd2fcefa355ba1df19e70294c453440bdc23
MISC metadata.xml 2830 RMD160 1e104847dd2267a6f85eb8e1e7e3c9b75cbc45c8 SHA1 c2e1e9ad626d9f6c6cf4a2bdc7bb812066627c79 SHA256 1fdea6550a9bed99c76c1043e161d8d90712951347b3d8dd246cea0654f0ae0b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.14 (GNU/Linux)
+
+iEYEARECAAYFAkuAeBgACgkQOypDUo0oQOr2rQCgjUXxyWu/K/r85Jve2EcSDk74
+w2AAoKlybSkM6hjC5LGQG6JQpwzmeT8p
+=d5Ud
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/libtommath/libtommath-0.41.ebuild b/dev-libs/libtommath/libtommath-0.41.ebuild
index e397c7d29e37..66e3f56cba09 100644
--- a/dev-libs/libtommath/libtommath-0.41.ebuild
+++ b/dev-libs/libtommath/libtommath-0.41.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtommath/libtommath-0.41.ebuild,v 1.3 2009/07/28 21:53:31 vostorga Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtommath/libtommath-0.41.ebuild,v 1.4 2010/02/21 00:02:24 abcd Exp $
+
+EAPI=3
inherit eutils multilib
@@ -10,25 +12,28 @@ SRC_URI="http://www.libtom.org/files/ltm-${PV}.tar.bz2"
LICENSE="public-domain"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
DEPEND="sys-devel/libtool"
RDEPEND=""
-src_unpack() {
- unpack ${A}
- cd "${S}"
+src_prepare() {
epatch "${FILESDIR}"/${P}-LDFLAGS.patch
epatch "${FILESDIR}"/${P}-CC.patch
+
+ [[ ${CHOST} == *-darwin* ]] && \
+ sed -i -e 's/libtool/glibtool/g' makefile.shared
+
+ sed -i -e 's: -g $(GROUP) -o $(USER)::g' makefile.shared
}
src_compile() {
- emake CC=$(tc-getCC) -f makefile.shared IGNORE_SPEED=1 || die "emake failed"
+ emake CC=$(tc-getCC) -f makefile.shared IGNORE_SPEED=1 LIBPATH="${EPREFIX}/usr/$(get_libdir)" || die "emake failed"
}
src_install() {
- make -f makefile.shared install DESTDIR="${D}" LIBPATH="/usr/$(get_libdir)" || die
+ emake -f makefile.shared install DESTDIR="${D}" LIBPATH="${EPREFIX}/usr/$(get_libdir)" INCPATH="${EPREFIX}/usr/include" || die
dodoc changes.txt *.pdf
docinto demo ; dodoc demo/*.c
}