[SCM] libzn-poly: library for polynomial arithmetic in Z/nZ[x] branch, master, updated. upstream/0.9-15-g7a2be08
Tobias Hansen
tobias.han at gmx.de
Thu Dec 20 22:27:59 UTC 2012
The following commit has been merged in the master branch:
commit 6bbc40048474ae741803f166fa72ee9c38bb81a8
Author: Tobias Hansen <tobias.han at gmx.de>
Date: Thu Dec 20 23:04:33 2012 +0100
Package builds now.
diff --git a/debian/libzn-poly-0.9.install b/debian/libzn-poly-0.9.install
index 07e3cf9..0e2a162 100644
--- a/debian/libzn-poly-0.9.install
+++ b/debian/libzn-poly-0.9.install
@@ -1 +1 @@
-usr/lib/*/libzn_poly-*.so
+usr/lib/libzn_poly-*.so
diff --git a/debian/patches/zn_poly_soname.patch b/debian/patches/zn_poly_soname.patch
index 70dc577..8ba8c51 100644
--- a/debian/patches/zn_poly_soname.patch
+++ b/debian/patches/zn_poly_soname.patch
@@ -1,6 +1,15 @@
--- a/makemakefile.py
+++ b/makemakefile.py
-@@ -181,7 +181,9 @@
+@@ -161,6 +161,8 @@
+ print "\tmkdir -p %s/include/zn_poly" % prefix
+ print "\tmkdir -p %s/lib" % prefix
+ print "\tcp libzn_poly.a %s/lib" % prefix
++print "\tcp libzn_poly-*.so %s/lib" % prefix
++print "\tcp libzn_poly.so %s/lib" % prefix
+ print "\tcp include/zn_poly.h %s/include/zn_poly" % prefix
+ print "\tcp include/wide_arith.h %s/include/zn_poly" % prefix
+ print
+@@ -181,7 +183,9 @@
print "\trm -f " + x + "-ntl"
for x in demo_progs:
print "\trm -f " + x
@@ -11,7 +20,7 @@
print
print
-@@ -199,8 +201,13 @@
+@@ -199,8 +203,13 @@
print "\t$(CC) -m64 -single_module -fPIC -dynamiclib -o libzn_poly.dylib " \
"$(LIBOBJS) $(LIBS)"
print
diff --git a/debian/rules b/debian/rules
index 6043233..3d7a3b8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,13 +4,13 @@
dh $@
override_dh_auto_clean:
- debian/rules override_dh_auto_configure
dh_auto_clean
rm -f makefile
override_dh_auto_configure:
- ./configure -- --gmp-prefix="/usr" --ntl-prefix="/usr" \
+ ./configure --gmp-prefix="/usr" --ntl-prefix="/usr" \
--prefix="$(CURDIR)/debian/tmp/usr" --cflags="$(CFLAGS) -fPIC"
-override_dh_auto_make:
- dh_auto_make libzn_poly.so
+override_dh_auto_build:
+ $(MAKE)
+ $(MAKE) libzn_poly.so
--
libzn-poly: library for polynomial arithmetic in Z/nZ[x]
More information about the debian-science-commits
mailing list