summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kahle <tomka@gentoo.org>2011-05-14 09:56:28 +0000
committerThomas Kahle <tomka@gentoo.org>2011-05-14 09:56:28 +0000
commita4de28fd91112fdc2df1f5a71925cbe37bfd3d3a (patch)
tree7db2ff7186dc08f858a74c561db266dead7f09a4 /dev-libs/gf2x
parentStable on amd64 wrt bug #366927 (diff)
downloadhistorical-a4de28fd91112fdc2df1f5a71925cbe37bfd3d3a.tar.gz
historical-a4de28fd91112fdc2df1f5a71925cbe37bfd3d3a.tar.bz2
historical-a4de28fd91112fdc2df1f5a71925cbe37bfd3d3a.zip
bump to 1.0 (bug #366947), remove old
Package-Manager: portage-2.1.9.49/cvs/Linux i686
Diffstat (limited to 'dev-libs/gf2x')
-rw-r--r--dev-libs/gf2x/ChangeLog10
-rw-r--r--dev-libs/gf2x/Manifest17
-rw-r--r--dev-libs/gf2x/files/gf2x-0.3.1-shared.patch64
-rw-r--r--dev-libs/gf2x/gf2x-0.3.1.ebuild38
-rw-r--r--dev-libs/gf2x/gf2x-1.0.ebuild28
5 files changed, 49 insertions, 108 deletions
diff --git a/dev-libs/gf2x/ChangeLog b/dev-libs/gf2x/ChangeLog
index 4e8d18b0be02..d14ebaaf929d 100644
--- a/dev-libs/gf2x/ChangeLog
+++ b/dev-libs/gf2x/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/gf2x
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gf2x/ChangeLog,v 1.9 2010/12/25 10:14:30 grobian Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gf2x/ChangeLog,v 1.10 2011/05/14 09:56:27 tomka Exp $
+
+*gf2x-1.0 (14 May 2011)
+
+ 14 May 2011; Thomas Kahle <tomka@gentoo.org> -gf2x-0.3.1.ebuild,
+ -files/gf2x-0.3.1-shared.patch, +gf2x-1.0.ebuild:
+ bump to 1.0 (bug #366947), remove old
24 Dec 2010; Fabian Groffen <grobian@gentoo.org> gf2x-0.9.5.ebuild:
Marked ~x86-linux, ~amd64-linux and ~ppc-macos, bug #341989
diff --git a/dev-libs/gf2x/Manifest b/dev-libs/gf2x/Manifest
index 3386ea364e5e..f22e26ba518e 100644
--- a/dev-libs/gf2x/Manifest
+++ b/dev-libs/gf2x/Manifest
@@ -1,7 +1,16 @@
-AUX gf2x-0.3.1-shared.patch 1528 RMD160 11f67a529a96aa399b442eaed76ea98c85eaa79e SHA1 8d989c081827a55ff222e5142f31bd94d8d4324e SHA256 2f6fce93e187746abeb66e00a1cdc1e9856d7d1cf969d2248a1a4e7c13e30233
-DIST gf2x-0.3.1.tar.gz 93852 RMD160 2b87ef0a7d04204179d598caa5037ef34d648f59 SHA1 83b4b8677856b93b15cb6fcbca06dcdebaa2144c SHA256 ce185fbde6c6cae1a3597a9d294daeaec7d0b85b8fe61961755696a08c1f0cb4
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
DIST gf2x-0.9.5.tar.gz 420758 RMD160 14879ce9ce80932ec6f352ce4a0706b3b0bbe37b SHA1 13e8fc2f9b4310cbbcba09c3264201b368f7672a SHA256 3b0b3351ce649864b3b87f2fee775fdc786de7e933b84edd225c1ce5046e37b1
-EBUILD gf2x-0.3.1.ebuild 938 RMD160 5bec4b540067d0a5873942c44f26c637edda6d82 SHA1 d319081be44d6101f4afe9a554a16e91753276b6 SHA256 79c2fb213f473a2b10196f3a666f374ba2dab1160c64cf348f4d8381ef0c76e0
+DIST gf2x-1.0.tar.gz 460810 RMD160 e3b507485cfb25aab4bb25bcd5f134bf97ab8448 SHA1 137fd73f116a590ec7c5f72068f2d3c3144d697e SHA256 b64ffa9275cc2e995d37bcecbcdce9ba1df1e17d3d31d8685128d00df305e753
EBUILD gf2x-0.9.5.ebuild 715 RMD160 fa91615c694148a3d9a18b59db5ddd1be264abde SHA1 6ec8f4e9ad2385296cbffc2db21932ca8f2b6f6e SHA256 865bfc554fbd201051975fd2290e2f6c549e648eccb3634c68d38fd7b6d998b9
-MISC ChangeLog 1120 RMD160 84241474739f33c09807a0f2bbb82d3209046e3b SHA1 25115349fd5cf904f38c0f739607b414c560fc1d SHA256 cad6fd273536570157e3f49a939d62fc23d4ab028aef48183cf382d2312a9f1f
+EBUILD gf2x-1.0.ebuild 714 RMD160 09afcb8c0176d76799b9709476a02a3894709777 SHA1 40581cc008df89240ce130510632ccb1eeffac50 SHA256 d696ad48b250705dc4c487d67f0ad2f9a2c301cd0f18c52813b0a4d6f4f4c5ce
+MISC ChangeLog 1304 RMD160 33dbc9073c71840d5586e84ff86ca5ac2f435c40 SHA1 dfe88b3606fc1743a8b659e3a019c1d11b84883b SHA256 adfaa17bde1ec0df13c71458a8dad9050e5c30515766dc38e4e3d77b93008ff1
MISC metadata.xml 390 RMD160 ad4645f086f7aa3d3c61e732cfafcae74dafac58 SHA1 a1beacd9a49d5a7c7ff8183060a8506c3104dae8 SHA256 09ee56bb919e6e3a4732c96f6fa234881e271036bc6c9a57f9c62d0dc06ab8f1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iF4EAREIAAYFAk3OUPsACgkQodBTJSDyo64lMQD6Ajy5YEXSmsjOfVbA8l9WQlI/
+Rg15wASp+rlV8SRMLU0A/RZVT2oji3Vr4X0aV7v63yYjLPGEN9bCgO6G1jf8R62d
+=kEHR
+-----END PGP SIGNATURE-----
diff --git a/dev-libs/gf2x/files/gf2x-0.3.1-shared.patch b/dev-libs/gf2x/files/gf2x-0.3.1-shared.patch
deleted file mode 100644
index e2932be0fa0b..000000000000
--- a/dev-libs/gf2x/files/gf2x-0.3.1-shared.patch
+++ /dev/null
@@ -1,64 +0,0 @@
---- Makefile.orig 2009-08-10 21:37:55.000000000 +0100
-+++ Makefile 2009-08-10 22:07:35.000000000 +0100
-@@ -1,14 +1,11 @@
-
- # Sorry, this makefile is kind of ugly, so pending a choice for an
- # appropriate building tool, we'll simply avoid make -j for this one.
--.NOTPARALLEL:
-+#.NOTPARALLEL:
-
- # Default flags
--CFLAGS:=-O2 -DNDEBUG
--CXXFLAGS:=$(CFLAGS)
--
--ALWAYS_CFLAGS:=-std=c99 -g -W -Wall
--ALWAYS_CXXFLAGS:=-g -W -Wall
-+ALWAYS_CFLAGS:=-std=c99 -W -Wall -DNDEBUG
-+ALWAYS_CXXFLAGS:=-W -Wall -DNDEBUG
-
- # Start with defaults that should never be overridden
- MY_CFLAGS=$(ALWAYS_CFLAGS)
-@@ -37,10 +34,12 @@
- .c.o:
- $(CC) $(MY_CFLAGS) $< -c -o $@
-
-+.SUFFIXES: .lo
-+.c.lo:
-+ $(CC) $(MY_CFLAGS) -fPIC $< -c -o $@
-+
- ifeq ($(shell arch),i686)
- w:=32
--CFLAGS+=-msse2
--CXXFLAGS+=-msse2
- endif
-
- ifeq ($(shell arch),x86_64)
-@@ -52,7 +51,7 @@
-
- .PHONY: all tune1
-
--all: tune1 libgf2x.a tunetoom
-+all: tune1 libgf2x.a libgf2x.so tunetoom
-
- LIBGF2X_FILES:=mul-toom.c mul-gf2x.c mulfft-bit.c
-
-@@ -60,6 +59,11 @@
- rm -f $@
- ar qcv $@ $^
-
-+libgf2x.so: $(patsubst %.c,%.lo,$(LIBGF2X_FILES))
-+ rm -f $@
-+ $(CC) -shared $(LDFLAGS) -Wl,-soname,libgf2x.so.0 -o libgf2x.so.0 $^
-+ ln -s libgf2x.so.0 libgf2x.so
-+
- gen_bb_mul_code: gen_bb_mul_code.c
- $(CC) $(MY_CFLAGS) $< -o $@
-
-@@ -141,6 +145,7 @@
- -rm -f bench update-thresholds tunetoom tunefft libgf2x.a
- -rm -f check*.res factor
- -rm -f *.o
-+ -rm -f *.lo libgf2x.so libgf2x.so.0
-
- gf2x.h: mul-inlines.c mul-small.c mul-basecase.c thresholds.h
- mul-kara.o: gf2x.h thresholds.h
diff --git a/dev-libs/gf2x/gf2x-0.3.1.ebuild b/dev-libs/gf2x/gf2x-0.3.1.ebuild
deleted file mode 100644
index b2ffd8ea2f8b..000000000000
--- a/dev-libs/gf2x/gf2x-0.3.1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gf2x/gf2x-0.3.1.ebuild,v 1.3 2009/08/10 21:57:03 bicatali Exp $
-
-EAPI=2
-inherit eutils
-
-DESCRIPTION="C/C++ routines for fast arithmetic in GF(2)[x]"
-HOMEPAGE="http://wwwmaths.anu.edu.au/~brent/gf2x.html"
-SRC_URI="http://wwwmaths.anu.edu.au/~brent/ftp/trinom/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE=""
-DEPEND=""
-RDEPEND="${DEPEND}"
-# tests need gmp and ntl, introducing a circle dependency
-RESTRICT=test
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-shared.patch
-}
-
-src_compile() {
- # turned off explicitely by upstream
- emake -j1 || die "emake failed"
-}
-
-src_install() {
- dolib.a libgf2x.a || die
- dolib.so libgf2x.so* || die
- dodoc Changelog README
- insinto /usr/include
- doins gf2x.h thresholds.h \
- mul2t.c mul-inlines.c mul-small.c mul-basecase.c || die
-}
diff --git a/dev-libs/gf2x/gf2x-1.0.ebuild b/dev-libs/gf2x/gf2x-1.0.ebuild
new file mode 100644
index 000000000000..83714a035bc5
--- /dev/null
+++ b/dev-libs/gf2x/gf2x-1.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gf2x/gf2x-1.0.ebuild,v 1.1 2011/05/14 09:56:27 tomka Exp $
+
+EAPI=2
+
+PID=27999 # hack
+
+DESCRIPTION="C/C++ routines for fast arithmetic in GF(2)[x]"
+HOMEPAGE="http://gf2x.gforge.inria.fr/"
+SRC_URI="http://gforge.inria.fr/frs/download.php/${PID}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+IUSE="sse2"
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ econf $(use_enable sse2) ABI=default
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc ChangeLog README AUTHORS BUGS
+}